dify/api/controllers/openapi
GareArc 27bbbbcf4b
feat(openapi): document canonical error schema in swagger via contract decorators
@accepts(query/body) now emits a 422 response with ErrorBody; @returns emits a
default error response with ErrorBody. ErrorBody (and auto-promoted ErrorDetail)
are registered in openapi_ns so they appear in definitions and are reachable from
both error response entries.
2026-06-10 03:15:45 -07:00
..
auth feat(api,cli): strict UUID validation for app-id and workspace-id (#37212) 2026-06-09 07:35:18 +00:00
__init__.py feat(openapi): document canonical error schema in swagger via contract decorators 2026-06-10 03:15:45 -07:00
_audit.py feat: adding dify cli (#36348) 2026-05-26 01:12:36 +00:00
_contract.py feat(openapi): document canonical error schema in swagger via contract decorators 2026-06-10 03:15:45 -07:00
_errors.py refactor(openapi): route member-quota errors through the canonical formatter 2026-06-10 02:54:28 -07:00
_input_schema.py feat: adding dify cli (#36348) 2026-05-26 01:12:36 +00:00
_meta.py refactor(openapi): unify request validation behind @accepts/@returns decorators (#37216) 2026-06-10 03:02:24 +00:00
_models.py feat(api,cli): strict UUID validation for app-id and workspace-id (#37212) 2026-06-09 07:35:18 +00:00
account.py refactor(openapi): unify request validation behind @accepts/@returns decorators (#37216) 2026-06-10 03:02:24 +00:00
app_run.py refactor(openapi): unify request validation behind @accepts/@returns decorators (#37216) 2026-06-10 03:02:24 +00:00
apps_permitted_external.py refactor(openapi): unify request validation behind @accepts/@returns decorators (#37216) 2026-06-10 03:02:24 +00:00
apps.py refactor(openapi): unify request validation behind @accepts/@returns decorators (#37216) 2026-06-10 03:02:24 +00:00
files.py refactor(openapi): unify request validation behind @accepts/@returns decorators (#37216) 2026-06-10 03:02:24 +00:00
human_input_form.py refactor(openapi): unify request validation behind @accepts/@returns decorators (#37216) 2026-06-10 03:02:24 +00:00
index.py refactor(openapi): unify request validation behind @accepts/@returns decorators (#37216) 2026-06-10 03:02:24 +00:00
oauth_device_sso.py feat: adding dify cli (#36348) 2026-05-26 01:12:36 +00:00
oauth_device.py fix(api): expose device-flow approve rate limit as env var (#37083) 2026-06-05 02:56:23 +00:00
workflow_events.py feat(openapi): redesign auth pipeline with per-token-type routing (#36693) 2026-05-27 12:45:30 +00:00
workspaces.py refactor(openapi): route member-quota errors through the canonical formatter 2026-06-10 02:54:28 -07:00