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:
+1
-1
@@ -86,4 +86,4 @@ package-lock.json
|
|||||||
|
|
||||||
|
|
||||||
### MINE ###
|
### MINE ###
|
||||||
frontend/src/app/api
|
frontend/src/api
|
||||||
|
|||||||
+1
-1
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user