mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-08 19:33:55 +00:00
2f4dc9a049
* update release version * update doc for 3.3.4 release * comment out stack installation due to error in travis |
||
---|---|---|
.. | ||
.gitignore | ||
build.gradle | ||
gradle.properties | ||
petstore-v3.0-invalid.yaml | ||
petstore-v3.0.yaml | ||
README.md | ||
settings.gradle |
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 generateGoWithInvalidSpec
The samples can be tested against other versions of the plugin using the openApiGeneratorVersion
property. For example:
gradle -PopenApiGeneratorVersion=3.3.4 openApiValidate