From 9a345d8bc5c5d7dcf2adf98c0cf568489995a7ea Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Wed, 24 Jan 2024 10:24:40 +0100 Subject: [PATCH] chore(api): Regenerate OpenAPI docs Signed-off-by: Joas Schilling --- openapi-administration.json | 48 +++++++++---------- openapi-push.json | 72 ++++++++++++++--------------- openapi.json | 92 ++++++++++++++++++------------------- 3 files changed, 106 insertions(+), 106 deletions(-) diff --git a/openapi-administration.json b/openapi-administration.json index 35bc70203..437bbc1a6 100644 --- a/openapi-administration.json +++ b/openapi-administration.json @@ -20,30 +20,6 @@ } }, "schemas": { - "OCSMeta": { - "type": "object", - "required": [ - "status", - "statuscode" - ], - "properties": { - "status": { - "type": "string" - }, - "statuscode": { - "type": "integer" - }, - "message": { - "type": "string" - }, - "totalitems": { - "type": "string" - }, - "itemsperpage": { - "type": "string" - } - } - }, "Capabilities": { "type": "object", "required": [ @@ -79,6 +55,30 @@ } } } + }, + "OCSMeta": { + "type": "object", + "required": [ + "status", + "statuscode" + ], + "properties": { + "status": { + "type": "string" + }, + "statuscode": { + "type": "integer" + }, + "message": { + "type": "string" + }, + "totalitems": { + "type": "string" + }, + "itemsperpage": { + "type": "string" + } + } } } }, diff --git a/openapi-push.json b/openapi-push.json index c92478c4f..a5f555bdd 100644 --- a/openapi-push.json +++ b/openapi-push.json @@ -20,6 +20,42 @@ } }, "schemas": { + "Capabilities": { + "type": "object", + "required": [ + "notifications" + ], + "properties": { + "notifications": { + "type": "object", + "required": [ + "ocs-endpoints", + "push", + "admin-notifications" + ], + "properties": { + "ocs-endpoints": { + "type": "array", + "items": { + "type": "string" + } + }, + "push": { + "type": "array", + "items": { + "type": "string" + } + }, + "admin-notifications": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + }, "OCSMeta": { "type": "object", "required": [ @@ -62,42 +98,6 @@ "type": "string" } } - }, - "Capabilities": { - "type": "object", - "required": [ - "notifications" - ], - "properties": { - "notifications": { - "type": "object", - "required": [ - "ocs-endpoints", - "push", - "admin-notifications" - ], - "properties": { - "ocs-endpoints": { - "type": "array", - "items": { - "type": "string" - } - }, - "push": { - "type": "array", - "items": { - "type": "string" - } - }, - "admin-notifications": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } } } }, diff --git a/openapi.json b/openapi.json index e147e9be3..7c668d915 100644 --- a/openapi.json +++ b/openapi.json @@ -20,27 +20,39 @@ } }, "schemas": { - "OCSMeta": { + "Capabilities": { "type": "object", "required": [ - "status", - "statuscode" + "notifications" ], "properties": { - "status": { - "type": "string" - }, - "statuscode": { - "type": "integer" - }, - "message": { - "type": "string" - }, - "totalitems": { - "type": "string" - }, - "itemsperpage": { - "type": "string" + "notifications": { + "type": "object", + "required": [ + "ocs-endpoints", + "push", + "admin-notifications" + ], + "properties": { + "ocs-endpoints": { + "type": "array", + "items": { + "type": "string" + } + }, + "push": { + "type": "array", + "items": { + "type": "string" + } + }, + "admin-notifications": { + "type": "array", + "items": { + "type": "string" + } + } + } } } }, @@ -142,39 +154,27 @@ } } }, - "Capabilities": { + "OCSMeta": { "type": "object", "required": [ - "notifications" + "status", + "statuscode" ], "properties": { - "notifications": { - "type": "object", - "required": [ - "ocs-endpoints", - "push", - "admin-notifications" - ], - "properties": { - "ocs-endpoints": { - "type": "array", - "items": { - "type": "string" - } - }, - "push": { - "type": "array", - "items": { - "type": "string" - } - }, - "admin-notifications": { - "type": "array", - "items": { - "type": "string" - } - } - } + "status": { + "type": "string" + }, + "statuscode": { + "type": "integer" + }, + "message": { + "type": "string" + }, + "totalitems": { + "type": "string" + }, + "itemsperpage": { + "type": "string" } } }