diff options
Diffstat (limited to 'apps/federation')
-rw-r--r-- | apps/federation/openapi.json | 88 |
1 files changed, 80 insertions, 8 deletions
diff --git a/apps/federation/openapi.json b/apps/federation/openapi.json index 71e72dbec92..59545e7dc98 100644 --- a/apps/federation/openapi.json +++ b/apps/federation/openapi.json @@ -135,9 +135,27 @@ "403": { "description": "Getting shared secret is not allowed", "content": { - "text/plain": { + "application/json": { "schema": { - "type": "string" + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } } } } @@ -223,9 +241,27 @@ "403": { "description": "Requesting shared secret is not allowed", "content": { - "text/plain": { + "application/json": { "schema": { - "type": "string" + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } } } } @@ -321,9 +357,27 @@ "403": { "description": "Getting shared secret is not allowed", "content": { - "text/plain": { + "application/json": { "schema": { - "type": "string" + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } } } } @@ -407,9 +461,27 @@ "403": { "description": "Requesting shared secret is not allowed", "content": { - "text/plain": { + "application/json": { "schema": { - "type": "string" + "type": "object", + "required": [ + "ocs" + ], + "properties": { + "ocs": { + "type": "object", + "required": [ + "meta", + "data" + ], + "properties": { + "meta": { + "$ref": "#/components/schemas/OCSMeta" + }, + "data": {} + } + } + } } } } |