Sebastien Rosset d61dcc17e0 [gradle] consistent use of maven url in gradle files (#5045)
* wrap maven url with uri function

* consistent use of maven url in gradle files
2020-01-19 14:57:38 -05:00
..
2019-06-06 15:09:26 -04:00
2019-06-06 15:09:26 -04:00
2019-12-02 15:26:01 +08:00

Local Spec Sample

This example assumes you have Gradle 4.7+ installed. No gradle wrapper is provided in samples.

First, publish the openapi-generator-gradle-plugin locally via ./gradlew assemble install in the module directory.

Then, run the following tasks in this example directory.

gradle openApiGenerate
gradle openApiMeta
gradle openApiValidate
gradle buildGoSdk
gradle buildDotnetSdk
gradle generateGoWithInvalidSpec

The samples can be tested against other versions of the plugin using the openApiGeneratorVersion property. For example:

gradle -PopenApiGeneratorVersion=4.2.3-SNAPSHOT openApiValidate