Skip to content

Commit

Permalink
fix(openapi): Regenerate OpenAPI
Browse files Browse the repository at this point in the history
Signed-off-by: Joas Schilling <[email protected]>
  • Loading branch information
nickvergessen committed Jan 17, 2024
1 parent 5de3028 commit 7365a7d
Show file tree
Hide file tree
Showing 16 changed files with 7,702 additions and 3,897 deletions.
90 changes: 45 additions & 45 deletions apps/cloud_federation_api/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,51 @@
}
}
},
"ValidationError": {
"allOf": [
{
"$ref": "#/components/schemas/Error"
},
{
"type": "object",
"required": [
"validationErrors"
],
"properties": {
"validationErrors": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"message"
],
"properties": {
"name": {
"type": "string"
},
"message": {
"type": "string",
"nullable": true
}
}
}
}
}
}
]
},
"Error": {
"type": "object",
"required": [
"message"
],
"properties": {
"message": {
"type": "string"
}
}
},
"Capabilities": {
"type": "object",
"required": [
Expand Down Expand Up @@ -86,51 +131,6 @@
}
}
}
},
"Error": {
"type": "object",
"required": [
"message"
],
"properties": {
"message": {
"type": "string"
}
}
},
"ValidationError": {
"allOf": [
{
"$ref": "#/components/schemas/Error"
},
{
"type": "object",
"required": [
"validationErrors"
],
"properties": {
"validationErrors": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"message"
],
"properties": {
"name": {
"type": "string"
},
"message": {
"type": "string",
"nullable": true
}
}
}
}
}
}
]
}
}
},
Expand Down
46 changes: 46 additions & 0 deletions apps/comments/openapi-full.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"openapi": "3.0.3",
"info": {
"title": "comments-full",
"version": "0.0.1",
"description": "Files app plugin to add comments to files",
"license": {
"name": "agpl"
}
},
"components": {
"securitySchemes": {
"basic_auth": {
"type": "http",
"scheme": "basic"
},
"bearer_auth": {
"type": "http",
"scheme": "bearer"
}
},
"schemas": {
"Capabilities": {
"type": "object",
"required": [
"files"
],
"properties": {
"files": {
"type": "object",
"required": [
"comments"
],
"properties": {
"comments": {
"type": "boolean"
}
}
}
}
}
}
},
"paths": {},
"tags": []
}
94 changes: 0 additions & 94 deletions apps/dashboard/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,78 +44,6 @@
}
}
},
"Widget": {
"type": "object",
"required": [
"id",
"title",
"order",
"icon_class",
"icon_url",
"widget_url",
"item_icons_round",
"item_api_versions",
"reload_interval"
],
"properties": {
"id": {
"type": "string"
},
"title": {
"type": "string"
},
"order": {
"type": "integer",
"format": "int64"
},
"icon_class": {
"type": "string"
},
"icon_url": {
"type": "string"
},
"widget_url": {
"type": "string",
"nullable": true
},
"item_icons_round": {
"type": "boolean"
},
"item_api_versions": {
"type": "array",
"items": {
"type": "integer",
"format": "int64"
}
},
"reload_interval": {
"type": "integer",
"format": "int64"
},
"buttons": {
"type": "array",
"items": {
"type": "object",
"required": [
"type",
"text",
"link"
],
"properties": {
"type": {
"type": "string"
},
"text": {
"type": "string"
},
"link": {
"type": "string"
}
}
}
}
}
},
"WidgetItem": {
"type": "object",
"required": [
Expand Down Expand Up @@ -146,28 +74,6 @@
"type": "string"
}
}
},
"WidgetItems": {
"type": "object",
"required": [
"items",
"emptyContentMessage",
"halfEmptyContentMessage"
],
"properties": {
"items": {
"type": "array",
"items": {
"$ref": "#/components/schemas/WidgetItem"
}
},
"emptyContentMessage": {
"type": "string"
},
"halfEmptyContentMessage": {
"type": "string"
}
}
}
}
},
Expand Down
78 changes: 39 additions & 39 deletions apps/dav/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,25 +20,27 @@
}
},
"schemas": {
"Capabilities": {
"OCSMeta": {
"type": "object",
"required": [
"dav"
"status",
"statuscode"
],
"properties": {
"dav": {
"type": "object",
"required": [
"chunking"
],
"properties": {
"chunking": {
"type": "string"
},
"bulkupload": {
"type": "string"
}
}
"status": {
"type": "string"
},
"statuscode": {
"type": "integer"
},
"message": {
"type": "string"
},
"totalitems": {
"type": "string"
},
"itemsperpage": {
"type": "string"
}
}
},
Expand Down Expand Up @@ -74,30 +76,6 @@
}
]
},
"OCSMeta": {
"type": "object",
"required": [
"status",
"statuscode"
],
"properties": {
"status": {
"type": "string"
},
"statuscode": {
"type": "integer"
},
"message": {
"type": "string"
},
"totalitems": {
"type": "string"
},
"itemsperpage": {
"type": "string"
}
}
},
"OutOfOfficeData": {
"allOf": [
{
Expand Down Expand Up @@ -143,6 +121,28 @@
"type": "string"
}
}
},
"Capabilities": {
"type": "object",
"required": [
"dav"
],
"properties": {
"dav": {
"type": "object",
"required": [
"chunking"
],
"properties": {
"chunking": {
"type": "string"
},
"bulkupload": {
"type": "string"
}
}
}
}
}
}
},
Expand Down
Loading

0 comments on commit 7365a7d

Please sign in to comment.