Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Latest commit

 

History

History
22 lines (15 loc) · 523 Bytes

openapi.md

File metadata and controls

22 lines (15 loc) · 523 Bytes

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/registration-service.yaml.

Generate OpenAPI yaml file

To re-generate the YAML file, invoke

./gradlew clean resolve

Generate REST client

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