diff --git a/apps/build-docs/src/swagger.ts b/apps/build-docs/src/swagger.ts index 3ab1d068b..cf0622de0 100644 --- a/apps/build-docs/src/swagger.ts +++ b/apps/build-docs/src/swagger.ts @@ -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` } ]; diff --git a/docs/User Guide/!!!meta.json b/docs/User Guide/!!!meta.json index f6a5669cb..9393a2220 100644 --- a/docs/User Guide/!!!meta.json +++ b/docs/User Guide/!!!meta.json @@ -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 },