This is a simple Spring Boot (gradle) project that is using
- openapi-processor-spring to generate java interfaces for the api defined in an openapi.yaml file
- the openapi-processor-json to convert the openapi yaml to json format
- and the openapi-processor-gradle plugin to run both processors.
The purpose of the sample is to show the setup of the gradle plugin and the processors.
the sample has a few simple endpoints described with OpenAPI in src/api
.
curl http://localhost:8080/ping
curl http://localhost:8080/echo?source=foo