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
When using a Swagger spec with a basePath set to / and then fetching the specification via the Swagger UI middleware, the basePath returned is set to `` (empty string). Which is invalid Swagger 2.0, you can check yourself by validating contract that within connexion. Specification.from_dict
Expected behaviour
The basePath stays /
Actual behaviour
The basePath is empty
Steps to reproduce
Use a Swagger 2.0 spec with a / as basePath, then fetch the spec from the Swagger UI middleware
Additional info:
Output of the commands:
python --version 3.10
pip show connexion | grep "^Version\:" 3.0.5
The text was updated successfully, but these errors were encountered:
Description
When using a Swagger spec with a basePath set to
/
and then fetching the specification via the Swagger UI middleware, the basePath returned is set to `` (empty string). Which is invalid Swagger 2.0, you can check yourself by validating contract that within connexion.Specification.from_dict
Expected behaviour
The basePath stays
/
Actual behaviour
The basePath is empty
Steps to reproduce
Use a Swagger 2.0 spec with a
/
as basePath, then fetch the spec from the Swagger UI middlewareAdditional info:
Output of the commands:
python --version
3.10pip show connexion | grep "^Version\:"
3.0.5The text was updated successfully, but these errors were encountered: