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
Running the default PetShop OpenAPI 3 example doesn't show the UI as suggested in the README.md
The logs show an error with connexion[swagger-ui]:
The swagger_ui directory could not be found.
Please install connexion with extra install: pip install connexion[swagger-ui]
or provide the path to your local installation by passing swagger_path=<your path>
Adding this dependency (connexion[swagger-ui] ~= 2.6.0) does not appear to change anything.
Add same issue on source generated no https://editor.swagger.io/#
added connexion[swagger-ui] >= 2.7.0 and also app = connexion.App(__name__, specification_dir='./swagger/', options={"swagger_ui": True, "serve_spec": True})
have made the localhost:8080/v2/ui workign
Description
Running the default PetShop OpenAPI 3 example doesn't show the UI as suggested in the README.md
The logs show an error with connexion[swagger-ui]:
Adding this dependency (
connexion[swagger-ui] ~= 2.6.0
) does not appear to change anything.Swagger-codegen version
3.0.22
Swagger declaration file content or url
https://raw.githubusercontent.com/OAI/OpenAPI-Specification/master/examples/v3.0/petstore.yaml
Command line used for generation
docker run --rm -v ${PWD}:/local swaggerapi/swagger-codegen-cli-v3:3.0.22 generate -i https://raw.githubusercontent.com/OAI/OpenAPI-Specification/master/examples/v3.0/petstore.yaml -l python-flask -o /local
Steps to reproduce
connexion[swagger-ui] ~= 2.6.0
(also tried with2.7.0
and2.5.1
)docker build -t testcase .
docker run -p 8080:8080 testcase
http://localhost:8080/v1/ui/
Thanks!
The text was updated successfully, but these errors were encountered: