diff --git a/apps/dashboard/openapi.json b/apps/dashboard/openapi.json index cf706f1f55d..594aed76793 100644 --- a/apps/dashboard/openapi.json +++ b/apps/dashboard/openapi.json @@ -231,11 +231,15 @@ } }, { - "name": "widgets", + "name": "widgets[]", "in": "query", "description": "Limit results to specific widgets", "schema": { - "type": "string" + "type": "array", + "default": [], + "items": { + "type": "string" + } } }, { diff --git a/apps/provisioning_api/openapi.json b/apps/provisioning_api/openapi.json index 6eb16aa6ad1..8a0e57d682a 100644 --- a/apps/provisioning_api/openapi.json +++ b/apps/provisioning_api/openapi.json @@ -1781,19 +1781,27 @@ } }, { - "name": "groups", + "name": "groups[]", "in": "query", "description": "Groups of the user", "schema": { - "type": "string" + "type": "array", + "default": [], + "items": { + "type": "string" + } } }, { - "name": "subadmin", + "name": "subadmin[]", "in": "query", "description": "Groups where the user is subadmin", "schema": { - "type": "string" + "type": "array", + "default": [], + "items": { + "type": "string" + } } }, { @@ -3563,7 +3571,7 @@ { "name": "app", "in": "path", - "description": "ID if the app", + "description": "ID of the app", "required": true, "schema": { "type": "string" @@ -4260,12 +4268,15 @@ ], "parameters": [ { - "name": "configKeys", + "name": "configKeys[]", "in": "query", "description": "Keys to delete", "required": true, "schema": { - "type": "string" + "type": "array", + "items": { + "type": "string" + } } }, { diff --git a/apps/user_ldap/openapi.json b/apps/user_ldap/openapi.json index 5be4938e177..43d2d8016b5 100644 --- a/apps/user_ldap/openapi.json +++ b/apps/user_ldap/openapi.json @@ -120,7 +120,7 @@ "get": { "operationId": "configapi-show", "summary": "Get a configuration", - "description": "This endpoint requires admin access", + "description": "Output can look like this: ok 200 OK ldaps://my.ldap.server 7770 ou=small,dc=my,dc=ldap,dc=server ou=users,ou=small,dc=my,dc=ldap,dc=server ou=small,dc=my,dc=ldap,dc=server cn=root,dc=my,dc=ldap,dc=server clearTextWithShowPassword=1 1 0 displayname uid inetOrgPerson (&(objectclass=nextcloudUser)(nextcloudEnabled=TRUE)) 1 (&(|(objectclass=nextcloudGroup))) 0 nextcloudGroup cn memberUid (&(|(objectclass=inetOrgPerson))(uid=%uid)) 0 0 1 mail 20 auto auto 1 uid;sn;givenname 0 1 uid uid 0 0 500 1 \nThis endpoint requires admin access", "tags": [ "configapi" ], diff --git a/apps/weather_status/openapi.json b/apps/weather_status/openapi.json index b6110473d37..cdfcbc3a269 100644 --- a/apps/weather_status/openapi.json +++ b/apps/weather_status/openapi.json @@ -847,12 +847,15 @@ ], "parameters": [ { - "name": "favorites", + "name": "favorites[]", "in": "query", "description": "Favorite addresses", "required": true, "schema": { - "type": "string" + "type": "array", + "items": { + "type": "string" + } } }, { diff --git a/core/openapi.json b/core/openapi.json index de65f08a4ee..752aa4c1ffb 100644 --- a/core/openapi.json +++ b/core/openapi.json @@ -394,28 +394,8 @@ "type": "string" }, "status": { - "oneOf": [ - { - "type": "integer", - "format": "int64" - }, - { - "type": "integer", - "format": "int64" - }, - { - "type": "integer", - "format": "int64" - }, - { - "type": "integer", - "format": "int64" - }, - { - "type": "integer", - "format": "int64" - } - ] + "type": "integer", + "format": "int64" }, "userId": { "type": "string", @@ -1628,11 +1608,15 @@ } }, { - "name": "shareTypes", + "name": "shareTypes[]", "in": "query", "description": "Types of shares to search for", "schema": { - "type": "string" + "type": "array", + "items": { + "type": "integer", + "format": "int64" + } } }, { @@ -3251,12 +3235,15 @@ ], "parameters": [ { - "name": "references", + "name": "references[]", "in": "query", "description": "References to resolve", "required": true, "schema": { - "type": "string" + "type": "array", + "items": { + "type": "string" + } } }, { @@ -4300,21 +4287,24 @@ ], "properties": { "types": { - "type": "object", - "required": [ - "id", - "name", - "description" - ], - "properties": { - "id": { - "type": "string" - }, - "name": { - "type": "string" - }, - "description": { - "type": "string" + "type": "array", + "items": { + "type": "object", + "required": [ + "id", + "name", + "description" + ], + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + } } } }