Miroslav Oujeský 3f788d3d77
[java][Micronaut] generator fixes (#11803)
* Fix ConfigurableAuthorization package name import to come from configuration

* Fix Micronaut @Consumes and @Produces annotations, allow multiple content types

* Fix security schemes rendering and Micronaut @Authentication pairing with application settings when special characters are present

* Updated samples

* Code review feedback

* Add xml to dependencies and fix tests

Co-authored-by: Andriy Dmytruk <andriy.dmytruk@oracle.com>
2022-05-20 13:24:48 +08:00
..
2022-03-25 00:42:07 +08:00
2021-08-15 22:36:45 +08:00

petstore-micronaut

This is a generated client based on Micronaut framework.

Configuration

A Micronaut's application can be created by defining a main class and running:

import io.micronaut.runtime.Micronaut;
import io.micronaut.context.ApplicationContext;

public class Application {

    public static void main(String[] args) {
        ApplicationContext context = Micronaut.run(Application.class);
    }
}

More detailed description can be found in the Micronaut Guide.

All the properties can be changed in the [application.yml][src/main/resources/application.yml] file or when creating micronaut application as described in Configuration section of guide.

Api Guides

Description on how to create Apis is given inside individual api guides:

Auth methods

Details on auth methods can be found in the auth.md.

Author