This project uses SpringBoot and OpenAPI Maven openapi-generator-maven-plugin plugin to generate Java classes for Flagsmith OpenAPI specification
Inside pom.xml file, under openapi-generator-maven-plugin attributes, set the desired packages for API and model of the generated code.
Put the resource openAPI schema under /sec/main/resources/flagsmith.json (referenced already via the pom.xml file).
After cloning, run Maven clean + install.
The generated code will reside under /target/classes directory.
During Maven test phase, FlagsmithOpenapiApplicationTests will run , and load SpringBoot context. you can use these tests.
One might also startup a SpringBoot Application using the already given FlagsmithOpenapiApplication class.