Using REST API client plugin
How to generate code using URL-based source with default configuration
Run the code generation task:
gradle restDownload
How to generate code using URL-based source with customized configuration
- Generate a configuration file
gradle restConfig - Update the configuration codegen.config.yaml file
- Run the code generation task
gradle restDownload
How to generate code using file-based source with default configuration
Run the code generation task:
gradle restCodegen
How to generate code using file-based source with customized configuration
- Generate a configuration file
gradle restConfig - Update the configuration codegen.config.yaml file
- Run the code generation task
gradle restCodegen
