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

Fix Swagger UI 500 error Failed to load API definition. #838

Merged
merged 1 commit into from
Mar 13, 2025

Conversation

juhoinkinen
Copy link
Member

There is a bug in Connexion 3.2.0 affecting Swagger UI: Just after Annif startup its Swagger UI (/v1/ui) works, but if any other(?) API request has been made, a 500 error is thrown when trying to access it.

A workaround for now is to downgrade to Connexion ~3.1.0.

Copy link

codecov bot commented Mar 13, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.63%. Comparing base (eaa34a2) to head (9e061ed).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #838   +/-   ##
=======================================
  Coverage   99.63%   99.63%           
=======================================
  Files          96       96           
  Lines        7220     7220           
=======================================
  Hits         7194     7194           
  Misses         26       26           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@juhoinkinen juhoinkinen merged commit 6566118 into main Mar 13, 2025
17 checks passed
@juhoinkinen juhoinkinen deleted the fix-swaggerui-500-error-fetch-/v1/openapi.json branch March 13, 2025 08:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant