Skip to content

Commit

Permalink
add soft break message to api description (#579)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinschaper authored Feb 6, 2024
1 parent 3e05bae commit 571ab8a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions backend/src/monarch_py/api/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,14 @@ async def initialize_app():
)
app.add_middleware(LoggingMiddleware)

app.description = """
# This is the v3 Monarch API, the Biolink API is still available through March 20th, 2023
The Biolink API (Monarch v1/v2) is available at
[http://biolink-api.monarchinitiative.org](http://biolink-api.monarchinitiative.org),
but will be [shut down on March 20th, 2023](http://monarchinit.medium.com/migrating-to-the-new-monarch-infrastructure-fe9d98ccf64a).
"""

@app.get("/")
async def _root():
Expand Down

0 comments on commit 571ab8a

Please sign in to comment.