forked from loafle/openapi-generator-original
* [java-micronaut] Generate visitor for subtypes with a discriminator When types which extend a common type and are distinguished based on a discriminator are consumed they are often cast to their specific Java type which results in error prone boilerplate code. By generating a visitor for those kind of types the various subtypes can be consumed in a type safe manner. * [java-micronaut] Remove redundant public access modifiers
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.