Skip to content

Commit 3ffdee4

Browse files
committed
Remove temporary workaround for OpenAPI generator bug (#20701)
- Deleted `python.yml` workflow file and associated `overwriteGeneratedPythonFile` task. - Updated `generatePythonClient` task dependencies to remove patching step.
1 parent b8fa428 commit 3ffdee4

File tree

2 files changed

+1
-45
lines changed

2 files changed

+1
-45
lines changed

api/build.gradle.kts

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -162,17 +162,6 @@ tasks.register<GenerateTask>("openApiPythonGenerate") {
162162
)
163163
}
164164

165-
// PROD-14252: temporary fix waiting for upstream resolution of
166-
// https://github.com/OpenAPITools/openapi-generator/pull/20701
167-
tasks.register<Copy>("overwriteGeneratedPythonFile") {
168-
group = "openapi-python"
169-
description =
170-
"Patch OpenAPI Python client (temporary fix OpenAPITools/openapi-generator/pull/20701)"
171-
dependsOn("openApiPythonGenerate")
172-
from("${rootDir}/scripts/clients/patches/python.yml")
173-
into("${layout.buildDirectory.get()}/generated-sources/openapi/python/.github/workflows/")
174-
}
175-
176165
tasks.register<Copy>("copyPythonGitPushScript") {
177166
group = "openapi-python"
178167
description =
@@ -191,12 +180,10 @@ tasks.register<Copy>("copyPythonLicense") {
191180
into("${layout.buildDirectory.get()}/generated-sources/openapi/python")
192181
}
193182

194-
// PROD-14252: temporary fix waiting for upstream resolution
195-
// of https://github.com/OpenAPITools/openapi-generator/pull/20701
196183
tasks.register("generatePythonClient") {
197184
group = "openapi-python"
198185
description = "Push generated Python client project to dedicated github repository"
199-
dependsOn("copyPythonGitPushScript", "copyPythonLicense", "overwriteGeneratedPythonFile")
186+
dependsOn("copyPythonGitPushScript", "copyPythonLicense")
200187
}
201188

202189
tasks.register<GenerateTask>("openApiUmlGenerate") {

scripts/clients/patches/python.yml

Lines changed: 0 additions & 31 deletions
This file was deleted.

0 commit comments

Comments
 (0)