dify/api/controllers/common
GareArc 40df3c26c6
test(openapi): pin error-path matrix to canonical wire codes
Adds TestErrorMatrix (23 parametrized rows) covering every exception class
raised or mapped in files.py and app_run.py, asserting the exact wire code
each path emits and that every emitted code is an OpenApiErrorCode member.
Also adds error_code = "filename_not_exists" to FilenameNotExistsError, which
had no explicit code and was falling through to the status-map (bad_request).
2026-06-10 03:04:43 -07:00
..
controller_schemas.py refactor(api): deduplicate dataset controller schemas into controller_schemas.py (#34756) 2026-04-13 05:33:20 +00:00
errors.py test(openapi): pin error-path matrix to canonical wire codes 2026-06-10 03:04:43 -07:00
fields.py chore(api): annotate simple contract responses (#36331) 2026-05-19 06:13:20 +00:00
file_response.py chore: normalize frozenset literals and myscale typing (#34327) 2026-03-31 08:21:22 +00:00
helpers.py fix(api): preserve remote file URL query params (#36478) 2026-05-22 01:45:20 +00:00
human_input.py feat(api): introduce select, file and file list form input types to Human Input node (#36322) 2026-06-04 01:54:28 +00:00
schema.py refactor(api): migrate console.datasets.rag_pipeline partially to BaseModel (#36649) 2026-06-03 17:44:10 +00:00