Skip to content
Snippets Groups Projects
Commit 27d4e140 authored by Cain, Payton David's avatar Cain, Payton David
Browse files

alphabetize app parameters

parent 01982e9a
No related branches found
No related tags found
2 merge requests!146Release CMO metadata to production,!111Custom OpenAPI Titles/Descriptions
...@@ -12,9 +12,9 @@ from .SessionMiddleware import SessionMiddleware ...@@ -12,9 +12,9 @@ from .SessionMiddleware import SessionMiddleware
app = FastAPI( app = FastAPI(
title="Geomagnetism Metadata Web Service",
description="Web service for interaction with operational metadata records", description="Web service for interaction with operational metadata records",
root_path="/ws/secure", root_path="/ws/secure",
title="Geomagnetism Metadata Web Service",
) )
# NOTE: database used for sessions is started by ..app.app, # NOTE: database used for sessions is started by ..app.app,
......
...@@ -23,11 +23,11 @@ VERSION = os.getenv("GEOMAG_VERSION", "version") ...@@ -23,11 +23,11 @@ VERSION = os.getenv("GEOMAG_VERSION", "version")
app = FastAPI( app = FastAPI(
title="Geomagnetism Data Web Service",
description="Web service for data access and observatory/element information\n\n" description="Web service for data access and observatory/element information\n\n"
+ "Supports realtime processing via algorithms", + "Supports realtime processing via algorithms",
docs_url="/docs", docs_url="/docs",
root_path="/ws", root_path="/ws",
title="Geomagnetism Data Web Service",
) )
app.include_router(algorithms.router) app.include_router(algorithms.router)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment