Skip to content

Commit

Permalink
Merge pull request #44827 from nextcloud/chore/deps/openapi-extractor
Browse files Browse the repository at this point in the history
  • Loading branch information
provokateurin authored Apr 15, 2024
2 parents 984f00c + 015f582 commit d8d05ec
Show file tree
Hide file tree
Showing 12 changed files with 96 additions and 70 deletions.
2 changes: 1 addition & 1 deletion apps/files/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@
},
"ratio": {
"type": "number",
"format": "float",
"format": "double",
"nullable": true
},
"actionLabel": {
Expand Down
8 changes: 4 additions & 4 deletions apps/files_sharing/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -555,10 +555,10 @@
"format": "int64"
},
"item_size": {
"oneOf": [
"anyOf": [
{
"type": "number",
"format": "float"
"format": "double"
},
{
"type": "integer",
Expand Down Expand Up @@ -727,14 +727,14 @@
"type": "string"
},
"size": {
"oneOf": [
"anyOf": [
{
"type": "integer",
"format": "int64"
},
{
"type": "number",
"format": "float"
"format": "double"
}
]
},
Expand Down
16 changes: 8 additions & 8 deletions apps/provisioning_api/openapi-administration.json
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@
"post": {
"operationId": "apps-enable",
"summary": "Enable an app",
"description": "This endpoint requires admin access",
"description": "This endpoint requires admin access\nThis endpoint requires password confirmation",
"tags": [
"apps"
],
Expand Down Expand Up @@ -305,7 +305,7 @@
"delete": {
"operationId": "apps-disable",
"summary": "Disable an app",
"description": "This endpoint requires admin access",
"description": "This endpoint requires admin access\nThis endpoint requires password confirmation",
"tags": [
"apps"
],
Expand Down Expand Up @@ -449,7 +449,7 @@
"post": {
"operationId": "groups-add-group",
"summary": "Create a new group",
"description": "This endpoint requires admin access",
"description": "This endpoint requires admin access\nThis endpoint requires password confirmation",
"tags": [
"groups"
],
Expand Down Expand Up @@ -527,7 +527,7 @@
"put": {
"operationId": "groups-update-group",
"summary": "Update a group",
"description": "This endpoint requires admin access",
"description": "This endpoint requires admin access\nThis endpoint requires password confirmation",
"tags": [
"groups"
],
Expand Down Expand Up @@ -613,7 +613,7 @@
"delete": {
"operationId": "groups-delete-group",
"summary": "Delete a group",
"description": "This endpoint requires admin access",
"description": "This endpoint requires admin access\nThis endpoint requires password confirmation",
"tags": [
"groups"
],
Expand Down Expand Up @@ -755,7 +755,7 @@
"post": {
"operationId": "users-add-sub-admin",
"summary": "Make a user a subadmin of a group",
"description": "This endpoint requires admin access",
"description": "This endpoint requires admin access\nThis endpoint requires password confirmation",
"tags": [
"users"
],
Expand Down Expand Up @@ -831,7 +831,7 @@
"delete": {
"operationId": "users-remove-sub-admin",
"summary": "Remove a user from the subadmins of a group",
"description": "This endpoint requires admin access",
"description": "This endpoint requires admin access\nThis endpoint requires password confirmation",
"tags": [
"users"
],
Expand Down Expand Up @@ -1251,7 +1251,7 @@
"delete": {
"operationId": "app_config-delete-key",
"summary": "Delete a config key of an app",
"description": "This endpoint requires admin access",
"description": "This endpoint requires admin access\nThis endpoint requires password confirmation",
"tags": [
"app_config"
],
Expand Down
45 changes: 28 additions & 17 deletions apps/provisioning_api/openapi-full.json
Original file line number Diff line number Diff line change
Expand Up @@ -309,10 +309,10 @@
"type": "object",
"properties": {
"free": {
"oneOf": [
"anyOf": [
{
"type": "number",
"format": "float"
"format": "double"
},
{
"type": "integer",
Expand All @@ -321,10 +321,10 @@
]
},
"quota": {
"oneOf": [
"anyOf": [
{
"type": "number",
"format": "float"
"format": "double"
},
{
"type": "integer",
Expand All @@ -336,10 +336,10 @@
]
},
"relative": {
"oneOf": [
"anyOf": [
{
"type": "number",
"format": "float"
"format": "double"
},
{
"type": "integer",
Expand All @@ -348,10 +348,10 @@
]
},
"total": {
"oneOf": [
"anyOf": [
{
"type": "number",
"format": "float"
"format": "double"
},
{
"type": "integer",
Expand All @@ -360,10 +360,10 @@
]
},
"used": {
"oneOf": [
"anyOf": [
{
"type": "number",
"format": "float"
"format": "double"
},
{
"type": "integer",
Expand Down Expand Up @@ -535,7 +535,7 @@
"post": {
"operationId": "apps-enable",
"summary": "Enable an app",
"description": "This endpoint requires admin access",
"description": "This endpoint requires admin access\nThis endpoint requires password confirmation",
"tags": [
"apps"
],
Expand Down Expand Up @@ -602,7 +602,7 @@
"delete": {
"operationId": "apps-disable",
"summary": "Disable an app",
"description": "This endpoint requires admin access",
"description": "This endpoint requires admin access\nThis endpoint requires password confirmation",
"tags": [
"apps"
],
Expand Down Expand Up @@ -1002,7 +1002,7 @@
"post": {
"operationId": "users-add-sub-admin",
"summary": "Make a user a subadmin of a group",
"description": "This endpoint requires admin access",
"description": "This endpoint requires admin access\nThis endpoint requires password confirmation",
"tags": [
"users"
],
Expand Down Expand Up @@ -1078,7 +1078,7 @@
"delete": {
"operationId": "users-remove-sub-admin",
"summary": "Remove a user from the subadmins of a group",
"description": "This endpoint requires admin access",
"description": "This endpoint requires admin access\nThis endpoint requires password confirmation",
"tags": [
"users"
],
Expand Down Expand Up @@ -1357,6 +1357,7 @@
"post": {
"operationId": "app_config-set-value",
"summary": "Update the config value of an app",
"description": "This endpoint requires password confirmation",
"tags": [
"app_config"
],
Expand Down Expand Up @@ -1820,7 +1821,7 @@
"users": {
"type": "object",
"additionalProperties": {
"oneOf": [
"anyOf": [
{
"$ref": "#/components/schemas/UserDetails"
},
Expand Down Expand Up @@ -1953,6 +1954,7 @@
"post": {
"operationId": "users-add-user",
"summary": "Create a new user",
"description": "This endpoint requires password confirmation",
"tags": [
"users"
],
Expand Down Expand Up @@ -2219,7 +2221,7 @@
"users": {
"type": "object",
"additionalProperties": {
"oneOf": [
"anyOf": [
{
"$ref": "#/components/schemas/UserDetails"
},
Expand Down Expand Up @@ -2326,7 +2328,7 @@
"users": {
"type": "object",
"additionalProperties": {
"oneOf": [
"anyOf": [
{
"$ref": "#/components/schemas/UserDetails"
},
Expand Down Expand Up @@ -2538,6 +2540,7 @@
"put": {
"operationId": "users-edit-user",
"summary": "Update a value of the user's details",
"description": "This endpoint requires password confirmation",
"tags": [
"users"
],
Expand Down Expand Up @@ -2622,6 +2625,7 @@
"delete": {
"operationId": "users-delete-user",
"summary": "Delete a user",
"description": "This endpoint requires password confirmation",
"tags": [
"users"
],
Expand Down Expand Up @@ -2888,6 +2892,7 @@
"put": {
"operationId": "users-edit-user-multi-value",
"summary": "Update multiple values of the user's details",
"description": "This endpoint requires password confirmation",
"tags": [
"users"
],
Expand Down Expand Up @@ -2984,6 +2989,7 @@
"post": {
"operationId": "users-wipe-user-devices",
"summary": "Wipe all devices of a user",
"description": "This endpoint requires password confirmation",
"tags": [
"users"
],
Expand Down Expand Up @@ -3052,6 +3058,7 @@
"put": {
"operationId": "users-enable-user",
"summary": "Enable a user",
"description": "This endpoint requires password confirmation",
"tags": [
"users"
],
Expand Down Expand Up @@ -3120,6 +3127,7 @@
"put": {
"operationId": "users-disable-user",
"summary": "Disable a user",
"description": "This endpoint requires password confirmation",
"tags": [
"users"
],
Expand Down Expand Up @@ -3267,6 +3275,7 @@
"post": {
"operationId": "users-add-to-group",
"summary": "Add a user to a group",
"description": "This endpoint requires password confirmation",
"tags": [
"users"
],
Expand Down Expand Up @@ -3342,6 +3351,7 @@
"delete": {
"operationId": "users-remove-from-group",
"summary": "Remove a user from a group",
"description": "This endpoint requires password confirmation",
"tags": [
"users"
],
Expand Down Expand Up @@ -3419,6 +3429,7 @@
"post": {
"operationId": "users-resend-welcome-message",
"summary": "Resend the welcome message",
"description": "This endpoint requires password confirmation",
"tags": [
"users"
],
Expand Down
Loading

0 comments on commit d8d05ec

Please sign in to comment.