diff --git a/src/lib/openapi/spec/ui-config-schema.ts b/src/lib/openapi/spec/ui-config-schema.ts index c363dc6633..dde89ef689 100644 --- a/src/lib/openapi/spec/ui-config-schema.ts +++ b/src/lib/openapi/spec/ui-config-schema.ts @@ -63,6 +63,9 @@ export const uiConfigSchema = { versionInfo: { $ref: '#/components/schemas/versionSchema', }, + embedProxy: { + type: 'boolean', + }, }, components: { schemas: { diff --git a/src/lib/routes/admin-api/config.ts b/src/lib/routes/admin-api/config.ts index 16db6026f3..24338ac160 100644 --- a/src/lib/routes/admin-api/config.ts +++ b/src/lib/routes/admin-api/config.ts @@ -87,6 +87,7 @@ class ConfigController extends Controller { strategySegmentsLimit: this.config.strategySegmentsLimit, versionInfo: this.versionService.getVersionInfo(), disablePasswordAuth, + embedProxy: this.config.experimental.embedProxy, }; this.openApiService.respondWithValidation( diff --git a/src/test/e2e/api/openapi/__snapshots__/openapi.e2e.test.ts.snap b/src/test/e2e/api/openapi/__snapshots__/openapi.e2e.test.ts.snap index 0fb1d9381e..9f4d304572 100644 --- a/src/test/e2e/api/openapi/__snapshots__/openapi.e2e.test.ts.snap +++ b/src/test/e2e/api/openapi/__snapshots__/openapi.e2e.test.ts.snap @@ -2829,6 +2829,9 @@ Object { "emailEnabled": Object { "type": "boolean", }, + "embedProxy": Object { + "type": "boolean", + }, "environment": Object { "type": "string", },