dify/api/tests/unit_tests/controllers/openapi
GareArc c3f56fcc9a
refactor(openapi/cli): drop tag/author from app usage-face noun
The app noun is the usage face; tags and author are build/management
metadata that belong to studio-app, not here. Remove them end to end:

- backend: drop tags/created_by_name from AppListRow, tag from
  AppListQuery, the TagItem model, and the tag-name filter lookup;
  stop hardcoding the cross-tenant blanks in the permitted-external list
- cli: remove the --tag flag, TAGS/AUTHOR columns, and tag from the
  list query; single get app <id> no longer fabricates the fields
- regenerate openapi contracts (types/zod) and markdown docs

get app and get app <id> now agree (neither surfaces tags/author),
resolving the list-vs-single divergence raised in review.
2026-06-21 21:25:13 -07:00
..
auth feat(api,cli): strict UUID validation for app-id and workspace-id (#37212) 2026-06-09 07:35:18 +00:00
conftest.py chore: add Type to test (#37191) 2026-06-19 16:44:20 +00:00
test_account.py chore: add Type to test (#37191) 2026-06-19 16:44:20 +00:00
test_app_describe_builder.py refactor(openapi/cli): split app usage-face from studio-app build-face 2026-06-21 19:48:22 -07:00
test_app_describe_query.py feat: adding dify cli (#36348) 2026-05-26 01:12:36 +00:00
test_app_list_query.py refactor(openapi/cli): drop tag/author from app usage-face noun 2026-06-21 21:25:13 -07:00
test_app_payloads.py feat: adding dify cli (#36348) 2026-05-26 01:12:36 +00:00
test_app_run_dispatch.py feat: adding dify cli (#36348) 2026-05-26 01:12:36 +00:00
test_app_run_rate_limit.py feat: 429 rate-limit handling on the unified ErrorBody contract (openapi + difyctl) (#37313) 2026-06-12 06:35:15 +00:00
test_app_run_streaming.py chore: add Type to test (#37191) 2026-06-19 16:44:20 +00:00
test_apps_permitted_external_query.py feat: adding dify cli (#36348) 2026-05-26 01:12:36 +00:00
test_audit_app_run.py chore: Caplog type (#37603) 2026-06-18 18:53:13 +00:00
test_contract.py feat: unified ErrorBody contract for /openapi/v1 and difyctl (#37285) 2026-06-11 10:26:27 +00:00
test_cors.py feat: adding dify cli (#36348) 2026-05-26 01:12:36 +00:00
test_device_approve_deny.py feat: adding dify cli (#36348) 2026-05-26 01:12:36 +00:00
test_device_code.py feat: adding dify cli (#36348) 2026-05-26 01:12:36 +00:00
test_device_lookup.py feat: adding dify cli (#36348) 2026-05-26 01:12:36 +00:00
test_device_sso.py feat: adding dify cli (#36348) 2026-05-26 01:12:36 +00:00
test_device_token.py feat: adding dify cli (#36348) 2026-05-26 01:12:36 +00:00
test_error_contract.py fix(hitl): scope OpenAPI/Service-API resume to author-configured webapp forms 2026-06-16 16:11:29 -07:00
test_health.py feat: adding dify cli (#36348) 2026-05-26 01:12:36 +00:00
test_human_input_form.py fix(hitl): scope OpenAPI/Service-API resume to author-configured webapp forms 2026-06-16 16:11:29 -07:00
test_input_schema.py feat: adding dify cli (#36348) 2026-05-26 01:12:36 +00:00
test_meta_version.py chore: add Type to test (#37191) 2026-06-19 16:44:20 +00:00
test_models.py feat: adding dify cli (#36348) 2026-05-26 01:12:36 +00:00
test_oauth_sso_claims.py feat: adding dify cli (#36348) 2026-05-26 01:12:36 +00:00
test_oauth_sso_csrf.py feat: adding dify cli (#36348) 2026-05-26 01:12:36 +00:00
test_oauth_sso_host_header.py feat: adding dify cli (#36348) 2026-05-26 01:12:36 +00:00
test_pagination_envelope.py refactor(openapi/cli): split app usage-face from studio-app build-face 2026-06-21 19:48:22 -07:00
test_workflow_events_openapi.py chore: add Type to test (#37191) 2026-06-19 16:44:20 +00:00
test_workspaces_members.py chore: add Type to test (#37191) 2026-06-19 16:44:20 +00:00
test_workspaces.py feat: adding dify cli (#36348) 2026-05-26 01:12:36 +00:00