diff --git a/website/docs/how-to/how-to-enable-openapi.mdx b/website/docs/how-to/how-to-enable-openapi.mdx index ab53b31b50..79d316926f 100644 --- a/website/docs/how-to/how-to-enable-openapi.mdx +++ b/website/docs/how-to/how-to-enable-openapi.mdx @@ -9,6 +9,7 @@ import TabItem from '@theme/TabItem'; :::info Availability OpenAPI schemas were introduced in v4.13.0 of Unleash and v0.10.0 of the Unleash proxy. +Since v5.2.0 Unleash has OpenAPI enabled by default. ::: @@ -34,6 +35,8 @@ Similarly, if you're running the Unleash proxy locally at `http://localhost:3000 The OpenAPI spec and the Swagger UI can be turned on either via environment variables or via configuration options. Configuration options take precedence over environment variables. +If you are using Unleash v5.2.0, OpenAPI is enabled by default. You still need to enable it for Unleash proxy. + ### Enable OpenAPI via environment variables To turn on OpenAPI via environment variables, set the `ENABLE_OAS` to `true` in the environment you're running the server in.