Skip to content

Commit

Permalink
Merge pull request #3 from Adyen/fix-python-generator
Browse files Browse the repository at this point in the history
Downgrade generator version
  • Loading branch information
AlexandrosMor authored Oct 20, 2023
2 parents 7c0edf1 + ca56a08 commit e3d32e7
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions buildSrc/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ buildscript {
// url "https://plugins.gradle.org/m2/"
}
dependencies {
classpath "org.openapitools:openapi-generator-gradle-plugin:6.6.0"
classpath "org.openapitools:openapi-generator-gradle-plugin:6.0.1"
}
}

Expand All @@ -21,5 +21,5 @@ repositories {
}

dependencies {
implementation "org.openapitools:openapi-generator-gradle-plugin:6.6.0"
implementation "org.openapitools:openapi-generator-gradle-plugin:6.0.1"
}
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ project.ext.services.each { Service svc ->
reservedWordsMappings.set([
"configuration": "configuration"
])
additionalProperties.set([
'serviceName': project.ext.serviceName,
])

if (project.ext.has('configFile')) {
configFile.set("$projectDir/repo/$project.ext.configFile")
Expand Down
3 changes: 0 additions & 3 deletions go/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ tasks.withType(GenerateTask).configureEach {
'apiDocs' : 'false',
'modelDocs' : 'false'
])
additionalProperties.set([
'serviceName': project.ext.serviceName,
])
}

// Deployment
Expand Down
2 changes: 1 addition & 1 deletion php/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ plugins {
tasks.withType(GenerateTask).configureEach {
modelPackage.set("Model\\${project.ext.serviceName}")
apiPackage.set("Service\\${project.ext.serviceName}")
additionalProperties.set([
additionalProperties.putAll([
'variableNamingConvention': 'camelCase',
'invokerPackage' : 'Adyen',
'packageName' : 'Adyen'
Expand Down

0 comments on commit e3d32e7

Please sign in to comment.