forked from loafle/openapi-generator-original
* 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
petstore-micronaut
This is a generated client based on Micronaut framework.
Configuration
A Micronaut's application can be created by defyning 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.