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

Support for extensions in Security Schemes #3179

Open
1 task done
GiovanniCardamone opened this issue Nov 21, 2024 · 3 comments
Open
1 task done

Support for extensions in Security Schemes #3179

GiovanniCardamone opened this issue Nov 21, 2024 · 3 comments
Labels

Comments

@GiovanniCardamone
Copy link

Is there an existing issue that is already proposing this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe it

I am unable to add a security needed

Describe the solution you'd like

would be useful to have the extensions properti in SecuritySchemeObject in order to add extensions to the security

Teachability, documentation, adoption, migration strategy

https://swagger.io/docs/specification/v3_0/openapi-extensions/

What is the motivation / use case for changing the behavior?

would be useful when there are security that requires more than one header

@kamilmysliwiec
Copy link
Member

Would you like to create a PR for this issue?

@mag123c
Copy link
Contributor

mag123c commented Jan 16, 2025

I’m considering creating a PR to add support for extensions in the SecuritySchemeObject. My plan is to extend the schema to allow for properties like x-*, which would enable custom metadata for cases like AWS API Gateway configurations or other complex security setups.

Would this approach align with your feature request? Or do you have additional considerations I should keep in mind before proceeding with the PR?

@GiovanniCardamone
Copy link
Author

This approach aligns perfectly for my needs, and I think it will be very useful in the scenarios you described

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants