diff --git a/openapi-administration.json b/openapi-administration.json index 35bc7020..437bbc1a 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 c92478c4..a5f555bd 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 e147e9be..7c668d91 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" } } }