aboutsummaryrefslogtreecommitdiffstats
path: root/core/openapi.json
diff options
context:
space:
mode:
authorjld3103 <jld3103yt@gmail.com>2023-09-22 09:20:25 +0200
committerjld3103 <jld3103yt@gmail.com>2023-09-23 13:00:58 +0200
commitc72ca72cdeba0cd1b11e0bab1ce2a1a320cff58a (patch)
tree0daa5780c76e6b7624d7514c4108e8ff8c986fd4 /core/openapi.json
parentb6f13cb2d9a64d9696c090cc10e8cdf5cbc99974 (diff)
downloadnextcloud-server-c72ca72cdeba0cd1b11e0bab1ce2a1a320cff58a.tar.gz
nextcloud-server-c72ca72cdeba0cd1b11e0bab1ce2a1a320cff58a.zip
core: Fix OCM OpenAPI
Signed-off-by: jld3103 <jld3103yt@gmail.com>
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"
- }
- }
}
}
}