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

Add support for more configuration variables in swagger docs #221

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

Conversation

bluek1te
Copy link

When you configure OAS_URI_TO_CONFIG and OAS_URI_TO_JSON they don't flow down to the swagger docs properly, so this PR is to add support for that

@ahopkins
Copy link
Member

What about setting a default value to keep the existing OOTB functionality?

@linnil1
Copy link

linnil1 commented Mar 8, 2024

The bug remains in version sanic-ext=23.12.0.

I think this is a good patch to fix the issue
when OAS_URI_TO_CONFIG, OAS_URI_TO_JSON is not set to default value.

What about setting a default value to keep the existing OOTB functionality?

If these configurations are not expected to be set by users, we could consider removing the related document/method. Otherwise, we should provide a warning about potential UI issues when the configurations are changed.

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