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`
}
];