Skip to content

swagger-ui not resolving external references #1890

@jdkent

Description

@jdkent

Description

when cloning the raw spec, the base_uri information is lost, meaning external references cannot be resolved.
maybe my use-case is niche, but my openapi spec relies heavily on external references

Expected behaviour

the spec to be displayed

Actual behaviour

500 error

Steps to reproduce

run the test in test_swagger_ui.py in #1889 with the modified simple app

Additional info:

Output of the commands:

  • python --version
  • pip show connexion | grep "^Version\:"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions