Skip to content

Commit

Permalink
update openapi description
Browse files Browse the repository at this point in the history
  • Loading branch information
silvioheinze committed Oct 10, 2024
1 parent bf62995 commit 8f706e7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion code/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
"name": "city",
"description": "Operations related to city-level data."
}
{
"name": "current",
"description": "Operations related to getting current data (e.g., for stations, cities)."
}
]
)

Expand All @@ -21,7 +25,7 @@
CORSMiddleware,
allow_origins=origins,
allow_credentials=True,
allow_methods=["GET", "POST", "PUT", "DELETE", "OPTIONS"],
allow_methods=["GET", "POST"],
allow_headers=["*"],
)

Expand Down

0 comments on commit 8f706e7

Please sign in to comment.