Skip to content

Commit 9cb8a81

Browse files
committed
add tree response
1 parent b9e9db7 commit 9cb8a81

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

app/api/tree.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,13 @@ async def fetch_tree_by_id(
8989
@route_street_tree.get(
9090
'/species',
9191
response_model=List,
92+
responses={
93+
200: {'description': 'OK'},
94+
400: {'description': 'Bad Request'},
95+
404: {'description': 'Not Found'},
96+
422: {'description': 'Unprocessable Entity'},
97+
500: {'description': 'Internal Server Error'}
98+
},
9299
tags=['Strassenbaeume'],
93100
description='Retrieves street tree details based there species.'
94101
)

0 commit comments

Comments
 (0)