Connexion: Swagger UI console URL issue with 2.0.2 release

Created on 15 Nov 2018  路  1Comment  路  Source: zalando/connexion

Description

I am unable to access swagger UI under the default path {base_path}/ui/ with the latest 2.0.2 release. Reverting back to 1.5.3 shows the console as exepected.

Is this an exepected behavior? Has the swagger console location changed?

Expected behaviour

Swagger console

Actual behaviour

{
"detail": "The requested URL was not found on the server.  If you entered the URL manually please check your spelling and try again.",
"status": 404,
"title": "Not Found",
"type": "about:blank"
}

Steps to reproduce

Upgrade connexion to 2.0.2 and access swagger UI at {base_path}/ui/

Output of the commands:

  • python --version

    • Python 3.6.3

  • pip show connexion | grep "^Version\:"

    • Version: 2.0.2

Most helpful comment

Looks like its optional since 2.0.0

Swagger UI is now optional, and can be installed with pip install connexion[swagger-ui]

>All comments

Looks like its optional since 2.0.0

Swagger UI is now optional, and can be installed with pip install connexion[swagger-ui]

Was this page helpful?
0 / 5 - 0 ratings