mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-10 13:42:45 +00:00
Preserve order of securitySchemes (#14536)
* Remove alphabetical sort * Update integration testing expectations * Regenerate files
This commit is contained in:
@@ -1,5 +1,15 @@
|
||||
# Authorization methods
|
||||
<a name="name"></a>
|
||||
# petstore_auth
|
||||
Authorization method is **OAuth2** with `implicit` flow.
|
||||
The scopes are:
|
||||
* `write:pets`
|
||||
* `read:pets`
|
||||
|
||||
It can be configured in the [application.yml](src/main/resources/application.yml) using Micronaut security features.
|
||||
|
||||
More information on configuring can be found in [Micronaut Security Guide](https://micronaut-projects.github.io/micronaut-security/latest/guide/#oauth).
|
||||
<a name="name"></a>
|
||||
# api_key
|
||||
Authorization method is of **api key type**. The parameter `api_key` is located in `header`.
|
||||
|
||||
@@ -14,13 +24,3 @@ It can be configured in the [application.yml](src/main/resources/application.yml
|
||||
Authorization method is of **basic auth**.
|
||||
|
||||
It can be configured in the [application.yml](src/main/resources/application.yml) using Micronaut security features.
|
||||
<a name="name"></a>
|
||||
# petstore_auth
|
||||
Authorization method is **OAuth2** with `implicit` flow.
|
||||
The scopes are:
|
||||
* `write:pets`
|
||||
* `read:pets`
|
||||
|
||||
It can be configured in the [application.yml](src/main/resources/application.yml) using Micronaut security features.
|
||||
|
||||
More information on configuring can be found in [Micronaut Security Guide](https://micronaut-projects.github.io/micronaut-security/latest/guide/#oauth).
|
||||
|
||||
Reference in New Issue
Block a user