Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update OpenAPI generator version #18

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,13 @@ import io.swagger.v3.parser.core.models.ParseOptions
import io.swagger.v3.parser.core.models.SwaggerParseResult
import java.io.File
import org.openapitools.codegen.ClientOptInput
import org.openapitools.codegen.ClientOpts
import org.openapitools.codegen.CodegenConstants.APIS
import org.openapitools.codegen.CodegenConstants.API_TESTS
import org.openapitools.codegen.CodegenConstants.MODELS
import org.openapitools.codegen.CodegenConstants.MODEL_PACKAGE
import org.openapitools.codegen.CodegenConstants.PACKAGE_NAME
import org.openapitools.codegen.DefaultGenerator
import org.openapitools.codegen.config.GeneratorProperties.setProperty
import org.openapitools.codegen.config.GlobalSettings.setProperty
import org.web3j.corda.codegen.CordaGeneratorUtils.repackage
import org.web3j.corda.model.AmountCurrency
import org.web3j.corda.model.InvocationError
Expand Down Expand Up @@ -60,7 +59,6 @@ class CorDappClientGenerator(
opts(
ClientOptInput()
.config(CorDappClientCodegen(packageName, outputDir, typeMapping, cordaMapping))
.opts(ClientOpts())
.openAPI(result.openAPI)
)
configureGeneratorProperties(result)
Expand Down
3 changes: 1 addition & 2 deletions versions.properties
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ kotlin=1.3.50
ktlint=0.34.2
logback=1.2.3
mockk=1.9.3
openApiGenerator=4.0.3
openApiParser=2.0.3
openApiGenerator=4.2.1
picocli=4.0.3
slf4j=1.7.28
swagger=1.5.23
Expand Down