Skip to content

Commit c7cb10c

Browse files
committed
better swagger description
1 parent 8978af1 commit c7cb10c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,14 +110,14 @@ def get_latest(request: fastapi.Request, source: Sources = 'jhu'):
110110
@V2.get(
111111
'/locations', response_model=models.Locations, response_model_exclude_unset=True
112112
)
113-
def get_all_locations(
113+
def get_locations(
114114
request: fastapi.Request,
115115
country_code: str = None,
116116
timelines: bool = False,
117117
source: Sources = 'jhu',
118118
):
119119
"""
120-
Getting all the locations.
120+
Getting the locations.
121121
"""
122122
# Retrieve all the locations.
123123
locations = request.state.source.get_all()

0 commit comments

Comments
 (0)