Connexion 2.0 seems to hide the /ui/ endpoint.
After upgrading from connexion 1.5.3 to connexion 2.0.0, I am no longer to see the SWAGGER interface in /ui/. I've tried both my own code and an example project
The swagger interface should show
404 error
Run the sqlalchemy example, exactly as directed in the readme
python --version: Python 3.6.1pip show connexion | grep "^Version\:": 2.0.0You need to install with connexion[swagger-ui] now as it no longer includes Swagger UI by default. See https://github.com/hjacobs/connexion-example/pull/11 as example.
I've updated the release notes to include this information.
Thanks for taking the time to file this ticket. If you're curious about the history of this issue, you can read up on the discussion in #406 .
Trying to do pip install connexion[swagger-ui] gets
connexion 2.0.1 does not provide the extra 'swagger-ui'
I was able to install using: pip install swagger_ui_bundle
@BLooperZ's hint was fundamental for Heroku. Besides, connexion[swagger-ui] uses version 0.0.2 of the bundle, while swagger_ui_bundle is at version 0.0.5.
Most helpful comment
Trying to do
pip install connexion[swagger-ui]getsI was able to install using:
pip install swagger_ui_bundle