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 for #2656 - Add default server #2663

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

timheuer
Copy link

@timheuer timheuer commented Jun 5, 2023

This adds host detection in the middleware to populate the default schema/host for the swagger to populate the default Servers instance

@Havunen
Copy link

Havunen commented Feb 11, 2024

When the open api document is generated during build the request origin is not what is going to be the real host of the API.

@martincostello
Copy link
Collaborator

Thanks for contributing - if you'd like to continue with this pull request, please rebase against the default branch to pick up our new CI. Would you also be able to add a test?

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

3 participants