Files
openapi-generator/samples/client/petstore/java-micronaut-client
William Cheng b72eba90cd [java][okhttp-gson-nextgen] better oneOf implementation (#11146)
* add validJsonObject method

* add check for null

* fix list model generation

* fix optional fields validation

* add tests

* fix variable naming

* update tests

* add fromJson in oneOf, add tests

* convert JSON to static

* remove trailing space

* add fromString methods to all models

* add toJson, fix anyOf template

* remove workarounds

* undo changes to tests

* skip file schema test

* add new file
2021-12-18 23:22:55 +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