You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As per aiohttp, nested applications are used to avoid monolithic files with all your endpoints.
I've been able to generate the swagger for every single sub_app, as well as the route app. The only issue is that the swagger has no idea of the prefix that is set on the aiohttp level
So this works, the only issue is that the admin api swagger has no clue of the prefix. ie
App health is -> <url>/health
Admin health is -> <url>/admin/admin-health
The swagger documentation wrongfully points to <url>/admin-health
Should be a pretty easy fix on SwaggerUiSettings
The text was updated successfully, but these errors were encountered:
As per aiohttp, nested applications are used to avoid monolithic files with all your endpoints.
I've been able to generate the swagger for every single sub_app, as well as the route app. The only issue is that the swagger has no idea of the prefix that is set on the aiohttp level
Example
main.py
admin_factory.py
Description
So this works, the only issue is that the admin api swagger has no clue of the prefix. ie
App health is ->
<url>/health
Admin health is ->
<url>/admin/admin-health
The swagger documentation wrongfully points to
<url>/admin-health
Should be a pretty easy fix on
SwaggerUiSettings
The text was updated successfully, but these errors were encountered: