This example showcases the usage of OpenAPI generator kotlin-spring in a Spring Boot / Kotlin / Gradle application.
Generation is based on an OpenAPI spec file.
- simple model
- simple path
- complex model
- enums
- inheritence
- complex paths
- header
- references
- security
- Inheritance of DTOs generated by the generator is incorrect.
- Child-classes of LiteratureDTO are not extending LiteratureDTO, eg. BookDTO.
- This is a known issue and is tracked here.
./gradlew bootRun
- use the REST-API with some example requests
- run all tests:
./gradlew test