mirror of
https://github.com/jlengrand/openapi-generator.git
synced 2026-03-10 08:31:23 +00:00
[gradle-plugin] Initial implementation (#162)
* [gradle-plugin] Initial commit * Clarify comments on file constraints When a user sets the models, apis, or supportingFiles environment variables, any one of these being set disables generation for the other two. This could be confusing to users, so I've added some clarification text in the comments for these properties. In addition, I've cleaned up the extension on Property.ifNotEmpty, to avoid using Suppress annotations where it's not necessary. The change creates a local variable of type T?, allowing Kotlin to track the variable's nullable state at compile time. * Move gradle plugin under modules * Move kt files under kotlin source set. Add sample. * [gradle] map-like options as maps * Add tests for gradle validate task * Apply gradle plugin to mvn install phase * [gradle] Testing remaining gradle tasks * Add gradle plugin to the integration doc * Update gradle plugin README with task options * Gradle readme formatting
This commit is contained in:
committed by
William Cheng
parent
7dfd940023
commit
b6b8c0db87
@@ -1,8 +1,19 @@
|
||||
## Workflow Integration (Maven, Github, CI/CD)
|
||||
|
||||
### Gradle Integration
|
||||
|
||||
See the [openapi-generator-gradle-plugin README](../modules/openapi-generator-gradle-plugin/README.adoc) for details related to configuring and using the Gradle Plugin.
|
||||
|
||||
Supported tasks include:
|
||||
|
||||
* Listing generators
|
||||
* Validation of Open API 2.0 and 3.0 Specs
|
||||
* Generating "Meta" generators
|
||||
* Generating all generators supported by OpenAPI Generator
|
||||
|
||||
### Maven Integration
|
||||
|
||||
You can use the [openapi-generator-maven-plugin](../modules/openapi-generator-maven-plugin/README.md) for integrating with your workflow, and generating any codegen target.
|
||||
See the [openapi-generator-maven-plugin README](../modules/openapi-generator-maven-plugin/README.md) for details related to configuring and using the Maven Plugin.
|
||||
|
||||
### GitHub Integration
|
||||
|
||||
|
||||
Reference in New Issue
Block a user