Generating the OpenApi Spec 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/identity-hub.yaml. Generate OpenAPI yaml file To re-generate the YAML file, invoke ./gradlew clean resolve