Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions api/configs/feature/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -710,10 +710,10 @@ def WEB_API_CORS_ALLOW_ORIGINS(self) -> list[str]:
OPENAPI_ENABLED: bool = Field(
description=(
"Enable the /openapi/v1/* endpoint group used by difyctl and other "
"programmatic clients. Set to true to activate; disabled by default."
"programmatic clients. Enabled by default; set to false to disable."
),
validation_alias=AliasChoices("OPENAPI_ENABLED"),
default=False,
default=True,
)

inner_openapi_cors_allow_origins: str = Field(
Expand Down
2 changes: 1 addition & 1 deletion docker/envs/core-services/api.defaults
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ CELERY_BROKER_URL=${CELERY_BROKER_URL:-redis://:${REDIS_PASSWORD:-difyai123456}@
# WEBSOCKET_MAX_HTTP_BUFFER_SIZE=10485760
# SWAGGER_UI_ENABLED=false
# SWAGGER_UI_PATH=/swagger-ui.html
# OPENAPI_ENABLED=false
# OPENAPI_ENABLED=true
# OPENAPI_CORS_ALLOW_ORIGINS=
# OPENAPI_KNOWN_CLIENT_IDS=difyctl
# OPENAPI_RATE_LIMIT_PER_TOKEN=60
Expand Down