Update frontend API generation output directory
Changed the output directory for generated frontend APIs to `frontend/src/api` for better organization. Adjusted `.gitignore` accordingly to reflect the new path.
This commit is contained in:
parent
eb1cb1076d
commit
a5665b3172
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -86,4 +86,4 @@ package-lock.json
|
||||||
|
|
||||||
|
|
||||||
### MINE ###
|
### MINE ###
|
||||||
frontend/src/app/api
|
frontend/src/api
|
||||||
|
|
|
||||||
|
|
@ -59,7 +59,7 @@ tasks.named("compileJava") {
|
||||||
tasks.register<GenerateTask>("generateFrontendApi") {
|
tasks.register<GenerateTask>("generateFrontendApi") {
|
||||||
generatorName.set("typescript-angular")
|
generatorName.set("typescript-angular")
|
||||||
inputSpec.set("$projectDir/open_api/api.yml")
|
inputSpec.set("$projectDir/open_api/api.yml")
|
||||||
outputDir.set("$projectDir/frontend/src/app/api")
|
outputDir.set("$projectDir/frontend/src/api")
|
||||||
configOptions.set(
|
configOptions.set(
|
||||||
mapOf(
|
mapOf(
|
||||||
"npmName" to "generated-api",
|
"npmName" to "generated-api",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user