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 parent
eb1cb1076d
commit
a5665b3172
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -86,4 +86,4 @@ package-lock.json
|
||||
|
||||
|
||||
### MINE ###
|
||||
frontend/src/app/api
|
||||
frontend/src/api
|
||||
+1
-1
@@ -59,7 +59,7 @@ tasks.named("compileJava") {
|
||||
tasks.register<GenerateTask>("generateFrontendApi") {
|
||||
generatorName.set("typescript-angular")
|
||||
inputSpec.set("$projectDir/open_api/api.yml")
|
||||
outputDir.set("$projectDir/frontend/src/app/api")
|
||||
outputDir.set("$projectDir/frontend/src/api")
|
||||
configOptions.set(
|
||||
mapOf(
|
||||
"npmName" to "generated-api",
|
||||
|
||||
Reference in new issue
Block a user