Andriy Dmytruk 09aa7bfd0a
Add support for Micronaut Client (#10063)
* Create initial version of openapi micronaut generator

* Update validation, authorization, query parameters and time format

* Move micronaut to its own generator

* Add micronaut documentation

* Refactor and add tests to JavaMicronautClientGenerator

* Refactor model mustache for micronaut client

* Refactor model enum and pojo mustache files for micronaut client

* Move micronaut client generation to micronaut 3.0.0-M5 version

* Generate samples for micronaut client

* Add hidden files of generated samples for micronaut client

* Add and configure micronaut tests as maven profile

* Add option to choose between junit and spock for micronaut client generator

* Add tests for micronaut 'build' and 'test' options; regenerate micronaut samples
2021-08-15 22:36:45 +08:00

1.1 KiB

Authorization methods

api_key

Authorization method is of api key type. The parameter api_key is located in header.

It can be configured in the application.yml using Micronaut security features.

api_key_query

Authorization method is of api key type. The parameter api_key_query is located in query.

It can be configured in the application.yml using Micronaut security features.

http_basic_test

Authorization method is of basic auth.

It can be configured in the application.yml using Micronaut security features.

petstore_auth

Authorization method is OAuth2 with implicit flow. The scopes are: * write:pets * read:pets

It can be configured in the application.yml using Micronaut security features.

More information on configuring can be found in Micronaut Security Guide.