aboutsummaryrefslogtreecommitdiffstats
path: root/core/openapi.json
diff options
context:
space:
mode:
Diffstat (limited to 'core/openapi.json')
-rw-r--r--core/openapi.json53
1 files changed, 24 insertions, 29 deletions
diff --git a/core/openapi.json b/core/openapi.json
index 95fc7c2ff9f..74e67b28691 100644
--- a/core/openapi.json
+++ b/core/openapi.json
@@ -1336,38 +1336,33 @@
"type": "string"
},
"resourceTypes": {
- "type": "object",
- "required": [
- null
- ],
- "properties": {
- "": {
- "type": "object",
- "required": [
- "name",
- "shareTypes",
- "protocols"
- ],
- "properties": {
- "name": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "required": [
+ "name",
+ "shareTypes",
+ "protocols"
+ ],
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "shareTypes": {
+ "type": "array",
+ "items": {
"type": "string"
- },
- "shareTypes": {
- "type": "array",
- "items": {
+ }
+ },
+ "protocols": {
+ "type": "object",
+ "required": [
+ "webdav"
+ ],
+ "properties": {
+ "webdav": {
"type": "string"
}
- },
- "protocols": {
- "type": "object",
- "required": [
- "webdav"
- ],
- "properties": {
- "webdav": {
- "type": "string"
- }
- }
}
}
}