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
Flask-Rebar's support for OAIv3 servers is great, but unfortunately we're stuck on OAIv2 for the time being.
Currently, our Flask-Rebar-generated OAIv2 specs are not getting any basePath specified by default, and it doesn't seem possible for us to specify one.
One thing this could be immediately useful for is reducing the duplication across the generated endpoints in the spec, which currently all repeat the api_prefix at the beginning of every path.
What do you think of allowing SwaggerV2Generator to support setting a custom basePath, and also allowing users to turn off duplication of the api_prefix in each path?
This would enable Flask-Rebar's generated specs to better match those of alternative implementations of OAIv2 spec generation. (Specifically, one we interoperate with that's written in Java, using Swagger annotations.)
The text was updated successfully, but these errors were encountered:
Flask-Rebar's support for OAIv3
servers
is great, but unfortunately we're stuck on OAIv2 for the time being.Currently, our Flask-Rebar-generated OAIv2 specs are not getting any
basePath
specified by default, and it doesn't seem possible for us to specify one.One thing this could be immediately useful for is reducing the duplication across the generated endpoints in the spec, which currently all repeat the
api_prefix
at the beginning of everypath
.What do you think of allowing
SwaggerV2Generator
to support setting a custombasePath
, and also allowing users to turn off duplication of theapi_prefix
in eachpath
?This would enable Flask-Rebar's generated specs to better match those of alternative implementations of OAIv2 spec generation. (Specifically, one we interoperate with that's written in Java, using Swagger annotations.)
The text was updated successfully, but these errors were encountered: