mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
docs: not on latest unleash with openapi enabeld (#4024)
This commit is contained in:
parent
aa7627bc0b
commit
d3b3652984
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user