Created by: cbornet
PR checklist
-
Read the contribution guidelines. -
Ran the shell script under ./bin/to update Petstore sample so that CIs can verify the change. (For instance, only need to run./bin/{LANG}-petstore.shand./bin/security/{LANG}-petstore.shif updating the {LANG} (e.g. php, ruby, python, etc) code generator or {LANG} client's mustache templates). Windows batch files can be found in.\bin\windows\. -
Filed the PR against the correct branch: Default: master. -
Copied the technical committee to review the pull request if your PR is targeting a particular programming language.
Description of the PR
This PR:
- adds a
apiFirstoption that will not generate the API but will configure the openapi-generator-maven-plugin for API-first developpement instead. - removes usage of Springfox and serves the OAI spec directly if
apiFirstorreactiveis set (as Springfox doesn't support webflux yet) - removes some generated classes that have no use in Spring (ApiException, ApiOriginFilter, ApiResponseMessage, NotFoundException)
- fixes configuration of ThreetenBP for Spring-MVC
- configures the CORS globally (code to uncomment)