-
-
Notifications
You must be signed in to change notification settings - Fork 806
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
Feature - Make it easier for the client to use securitySchemes #81
Comments
weitzj
pushed a commit
to devk-insurance/oapi-codegen
that referenced
this issue
Oct 20, 2019
This adds a new client constructor and adds some fields to the client to extend its usage to have multiple request-interceptors, which can be used to help use the client for some securitySchemes.
weitzj
pushed a commit
to devk-insurance/oapi-codegen
that referenced
this issue
Oct 20, 2019
This adds a new client constructor and adds some fields to the client to extend its usage to have multiple request-interceptors, which can be used to help use the client for some securitySchemes.
weitzj
pushed a commit
to devk-insurance/oapi-codegen
that referenced
this issue
Oct 22, 2019
This adds a new client constructor and adds some fields to the client to extend its usage to have multiple request-interceptors, which can be used to help use the client for some securitySchemes.
deepmap-marcinr
pushed a commit
that referenced
this issue
Oct 22, 2019
* Fix #81 Add NewClient() constructor with Interceptors This adds a new client constructor and adds some fields to the client to extend its usage to have multiple request-interceptors, which can be used to help use the client for some securitySchemes. * Provide SecurityProviders for some SecuritySchemes * Regenerate templates.gen.go * Update README.md * Update test-fixtures
adrianpk
pushed a commit
to foorester/oapi-codegen
that referenced
this issue
Jan 16, 2024
* Fix oapi-codegen#81 Add NewClient() constructor with Interceptors This adds a new client constructor and adds some fields to the client to extend its usage to have multiple request-interceptors, which can be used to help use the client for some securitySchemes. * Provide SecurityProviders for some SecuritySchemes * Regenerate templates.gen.go * Update README.md * Update test-fixtures
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
OpenAPI3 provides various means on howto to interact with an API, i.e. BasicAuth, Bearer, ApiKey, Oauth2. https://swagger.io/docs/specification/authentication/
It would be nice, if the
Client
can be easily configured. Currently this is possible by injection a customizedHTTPClient
and/or using theRequestEditorFn
.It would be nice if the runtime provided some basic guidance on how to do this.
The text was updated successfully, but these errors were encountered: