forked from loafle/openapi-generator-original
* 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
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.