Spring Boot MVC Sample
This is a very simple Spring Boot (gradle & maven) project that is using
-
openapi-processor-spring to generate java interfaces for the api defined in an openapi.yaml file
-
openapi-processor-json to convert the openapi yaml to json format
-
openapi-processor-maven plugin to run both processors
The purpose of the sample is to show the setup of the gradle, the maven plugin and the processors.
Running with gradle
Clone the project from GitHub, navigate into the project root folder samples/spring-mvc
and run
../../gradlew bootRun
to start the sample application.