It is possible to generate an OpenApi spec in the form of a *.yaml
file by invoking a Gradle
task.
The file is at resources/openapi/yaml/registration-service.yaml
.
To re-generate the YAML file, invoke
./gradlew clean resolve
A REST client module is generated from the yaml
file in the rest-client
directory.
To re-generate the client module, invoke
./gradlew rest-client:clean rest-client:build