-
Notifications
You must be signed in to change notification settings - Fork 5
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
securitySchemes is being cleared #10
Labels
bug
Something isn't working
Comments
I'm having the same issue, just opened a PR for this. |
In fact Related issues about OpenAPI design: |
dolmen
added a commit
that referenced
this issue
Dec 8, 2024
Fix lookup of references to securitySchemes before cleaning it. /components/securitySchemes are not referenced by $ref like other components. We now implement the correct algorithm to lookup for references before cleaning: - look for references in Security Requirements in /security - look for references in Security Requirements in /paths/<path>/<method>/security
dolmen
added a commit
that referenced
this issue
Dec 8, 2024
Fix lookup of references to securitySchemes before cleaning it. /components/securitySchemes are not referenced by $ref like other components. We now implement the correct algorithm to lookup for references before cleaning: - look for references in Security Requirements in /security - look for references in Security Requirements in /paths/<path>/<method>/security
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey @dolmen, I noticed an issue with my doc after running preprocessing. I have the following config in yml:
Once I run the preprocessing, the resulting json is
As you see securitySchemes is being cleared.
The text was updated successfully, but these errors were encountered: