Skip to content

Commit

Permalink
Merge pull request #6 from martenson/topic/api-doc
Browse files Browse the repository at this point in the history
update redoc url
  • Loading branch information
bernt-matthias authored Mar 6, 2023
2 parents 6ab54a2 + d6e7654 commit 90122d3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion doc/source/api_doc.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ The Galaxy API addresses these and other situations by exposing Galaxy
internals through an additional interface, known as an Application Programming
Interface, or API.

The up-to-date Galaxy API documentation can be accessed by appending ``/api/docs`` or ``/redoc``
The up-to-date Galaxy API documentation can be accessed by appending ``/api/docs`` or ``/api/redoc``
to the base URL of a Galaxy server, e.g. https://usegalaxy.org/api/docs

Various language specific bindings for interfacing with the Galaxy API have been
Expand Down
1 change: 1 addition & 0 deletions lib/galaxy/webapps/galaxy/fast_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ def get_fastapi_instance() -> FastAPI:
return FastAPI(
title="Galaxy API",
docs_url="/api/docs",
redoc_url="/api/redoc",
openapi_tags=api_tags_metadata,
license_info={"name": "MIT", "url": "https://github.com/galaxyproject/galaxy/blob/dev/LICENSE.txt"},
)
Expand Down
1 change: 1 addition & 0 deletions lib/galaxy/webapps/reports/fast_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ def initialize_fast_app(gx_webapp):
"It aims to provide data about users, jobs, workflows, disk space, and much more."
),
docs_url="/api/docs",
redoc_url="/api/redoc",
)
add_exception_handler(app)
add_request_id_middleware(app)
Expand Down
1 change: 1 addition & 0 deletions lib/tool_shed/webapp/fast_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ def initialize_fast_app(gx_webapp, tool_shed_app):
title="Galaxy Tool Shed API",
description=("This API allows you to manage the Tool Shed repositories."),
docs_url="/api/docs",
redoc_url="/api/redoc",
)
add_exception_handler(app)
add_request_id_middleware(app)
Expand Down

0 comments on commit 90122d3

Please sign in to comment.