Skip to content

Commit ed2dbe6

Browse files
committed
Fix API client generation config with correct repo URL
1 parent 5061fb7 commit ed2dbe6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

api/build.gradle.kts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,9 @@ tasks.register<GenerateTask>("openApiTypescriptGenerate") {
108108
inputSpec.set("${rootDir}/openapi/openapi.yaml")
109109
outputDir.set("${layout.buildDirectory.get()}/generated-sources/openapi/typescript")
110110
generatorName.set("typescript-axios")
111+
gitHost.set("github.com")
112+
gitUserId.set("Cosmo-Tech")
113+
gitRepoId.set("cosmotech-api-typescript-client")
111114
additionalProperties.set(
112115
mapOf(
113116
"npmName" to "@cosmotech/api-ts",
@@ -145,6 +148,9 @@ tasks.register<GenerateTask>("openApiPythonGenerate") {
145148
inputSpec.set("${rootDir}/openapi/openapi.yaml")
146149
outputDir.set("${layout.buildDirectory.get()}/generated-sources/openapi/python")
147150
generatorName.set("python")
151+
gitHost.set("github.com")
152+
gitUserId.set("Cosmo-Tech")
153+
gitRepoId.set("cosmotech-api-python-client")
148154
additionalProperties.set(
149155
mapOf(
150156
"projectName" to "cosmotech-api",

0 commit comments

Comments
 (0)