Skip to content

Commit

Permalink
fix: do not pass basePath to aiohttp_apispec
Browse files Browse the repository at this point in the history
Passing the basePath to the aiohttp_apispec.setup_aiohttp_apispec method
caused that URL that were used from the Swagger UI added the path twice,
resulting in 404 not found methods.

Fixes #111
  • Loading branch information
alvarolopez committed Aug 9, 2024
1 parent 1099b6a commit 22dcae9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion deepaas/api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ async def get_app(
"description": "API documentation",
"url": "https://deepaas.readthedocs.org/",
},
basePath=base_path,
version=deepaas.extract_version(),
url=swagger,
swagger_path=doc if enable_doc else None,
Expand Down

0 comments on commit 22dcae9

Please sign in to comment.