Skip to content
This repository has been archived by the owner on Feb 8, 2021. It is now read-only.

Commit

Permalink
Fix generateApiDocs tasks
Browse files Browse the repository at this point in the history
These properties are supposed to be optional... but they are not.

See related: OpenAPITools/openapi-generator#2185
  • Loading branch information
kahowell committed Feb 18, 2019
1 parent d9cc5e6 commit 1da6dff
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,11 @@ project(":api") {
generatorName = "html"
inputSpec = api_spec_path
outputDir = "$buildDir/docs"
generateApiDocumentation = true
generateModelDocumentation = true
generateModelTests = false
generateApiTests = false
withXml = false
}

dependencies {
Expand Down Expand Up @@ -168,6 +173,11 @@ configure(subprojects.findAll { it.name == 'insights-inventory-client' || it.nam
generatorName = "html"
inputSpec = api_spec_path
outputDir = "$buildDir/docs"
generateApiDocumentation = true
generateModelDocumentation = true
generateModelTests = false
generateApiTests = false
withXml = false
}

openApiGenerate {
Expand Down

0 comments on commit 1da6dff

Please sign in to comment.