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

Return integer status in Rswag API middleware #740

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

evkorotkov
Copy link

@evkorotkov evkorotkov commented Apr 4, 2024

Problem

Rswag API middleware doesn't work with socketry/falcon webserver.
HTTP status must be integer socketry/protocol-rack.

Solution

Return integer status instead of string.

The changes I made are compatible with:

  • OAS2
  • OAS3
  • OAS3.1

Checklist

  • Added tests
  • Changelog updated
  • Added documentation to README.md
  • Added example of using the enhancement into test-app

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 this pull request may close these issues.

None yet

1 participant