From 75e77b96ff56464c6e11e4605a3b160ba15710b0 Mon Sep 17 00:00:00 2001 From: Johannes Marbach Date: Wed, 11 Sep 2024 13:51:27 +0200 Subject: [PATCH] Additional keys in GET /capabilities don't have to be objects (#1945) --- changelogs/client_server/newsfragments/1945.clarification | 1 + data/api/client-server/capabilities.yaml | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 changelogs/client_server/newsfragments/1945.clarification diff --git a/changelogs/client_server/newsfragments/1945.clarification b/changelogs/client_server/newsfragments/1945.clarification new file mode 100644 index 000000000..651ea6d36 --- /dev/null +++ b/changelogs/client_server/newsfragments/1945.clarification @@ -0,0 +1 @@ +Additional keys in `GET /capabilities` don't have to be objects. diff --git a/data/api/client-server/capabilities.yaml b/data/api/client-server/capabilities.yaml index 3ae26b22a..523c6091c 100644 --- a/data/api/client-server/capabilities.yaml +++ b/data/api/client-server/capabilities.yaml @@ -43,7 +43,9 @@ paths: The custom capabilities the server supports, using the Java package naming convention. additionalProperties: - type: object + description: |- + Application-dependent keys using the + [Common Namespaced Identifier Grammar](/appendices/#common-namespaced-identifier-grammar). properties: m.change_password: $ref: '#/components/schemas/booleanCapability'