diff --git a/docker/configurator/variables.js b/docker/configurator/variables.js index 1e676c4f1ea..8ab48a3d7b9 100644 --- a/docker/configurator/variables.js +++ b/docker/configurator/variables.js @@ -83,6 +83,14 @@ const standardVariables = { type: "string", name: "oauth2RedirectUrl" }, + PRESETS: { + type: "array", + name: "presets" + }, + PLUGINS: { + type: "array", + name: "plugins" + }, PERSIST_AUTHORIZATION: { type: "boolean", name: "persistAuthorization" diff --git a/docs/usage/configuration.md b/docs/usage/configuration.md index b4b28e1cb92..58fdcf4fc6e 100644 --- a/docs/usage/configuration.md +++ b/docs/usage/configuration.md @@ -39,8 +39,8 @@ Read more about the plugin system in the [Customization documentation](/docs/cus Parameter name | Docker variable | Description --- | --- | ----- `layout` | _Unavailable_ | `String="BaseLayout"`. The name of a component available via the plugin system to use as the top-level layout for Swagger UI. -`plugins` | _Unavailable_ | `Array=[]`. An array of plugin functions to use in Swagger UI. -`presets` | _Unavailable_ | `Array=[SwaggerUI.presets.ApisPreset]`. An array of presets to use in Swagger UI. Usually, you'll want to include `ApisPreset` if you use this option. +`plugins` | `PLUGIN` | `Array=[]`. An array of plugin functions to use in Swagger UI. +`presets` | `PRESETS` | `Array=[SwaggerUI.presets.ApisPreset]`. An array of presets to use in Swagger UI. Usually, you'll want to include `ApisPreset` if you use this option. ##### Display