Andriy Dmytruk 0ad970f4cf
[Micronaut] Improvements for Server and Client (#12297)
* Add the applicationName parameter to support generation of multiple clients

* Change indentation in application.yml to double-space

* Update swagger annotations version, and option to choose not to generate the annotations

* Generate operations only in the first defined tag class for micronaut server

* Improve micronaut client options by setting the correct default values in the JavaMicronautAbstractCodegen constructor

* Fix visitor pattern having abstract method in non-abstract class. Update samples

* Update server sample FILES

* Minor refactor

* Fix for context path
2022-05-19 02:03:45 +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