Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

swagger-ui not resolving external references #1890

Open
jdkent opened this issue Feb 21, 2024 · 1 comment · May be fixed by #1889
Open

swagger-ui not resolving external references #1890

jdkent opened this issue Feb 21, 2024 · 1 comment · May be fixed by #1889

Comments

@jdkent
Copy link
Contributor

jdkent commented Feb 21, 2024

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\:"
@jdkent jdkent changed the title swagger-ui give a 500 error when attempting to view swagger-ui not resolving external references Feb 21, 2024
@jdkent jdkent linked a pull request Feb 21, 2024 that will close this issue
@chrisinmtown
Copy link
Contributor

chrisinmtown commented Nov 29, 2024

Copying info from issue #1909. Split specs work in Connexion version 3.0.2, not in 3.0.3..3.1.0, work again in latest due to merge of PR #2002.

So you probably want to test again, and maybe update this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants