chore(build-docs): relocate to /rest-api

This commit is contained in:
Elian Doran
2025-11-01 21:35:18 +02:00
parent 6322ca11c9
commit 617703899f
2 changed files with 6 additions and 4 deletions

View File

@@ -8,15 +8,17 @@ interface BuildInfo {
outDir: string;
}
const DIR_PREFIX = "rest-api"
const buildInfos: BuildInfo[] = [
{
// Paths are relative to Git root.
specPath: "apps/server/src/assets/api-openapi.yaml",
outDir: "api/internal"
outDir: `${DIR_PREFIX}/internal`
},
{
specPath: "apps/server/src/assets/etapi.openapi.yaml",
outDir: "api/etapi"
outDir: `${DIR_PREFIX}/etapi`
}
];

View File

@@ -12594,7 +12594,7 @@
{
"type": "label",
"name": "webViewSrc",
"value": "/api/etapi/",
"value": "/rest-api/etapi/",
"isInheritable": false,
"position": 10
},
@@ -13612,7 +13612,7 @@
{
"type": "label",
"name": "webViewSrc",
"value": "/api/internal/",
"value": "/rest-api/internal/",
"isInheritable": false,
"position": 10
},