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-gradle/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. The sample contains a build.gradle
and a build.gradle.kts
build file.
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.