diff options
author | jld3103 <jld3103yt@gmail.com> | 2023-09-14 15:41:10 +0200 |
---|---|---|
committer | jld3103 <jld3103yt@gmail.com> | 2023-09-14 15:41:13 +0200 |
commit | 3f16650e3bc1a64bc999284c704225066f8c207b (patch) | |
tree | 70dc54e1b6e756382533bb705d186b29dfdf66dc /apps/provisioning_api | |
parent | 30a7eabad3f00fe10fa2d66725297a559aa82c3c (diff) | |
download | nextcloud-server-3f16650e3bc1a64bc999284c704225066f8c207b.tar.gz nextcloud-server-3f16650e3bc1a64bc999284c704225066f8c207b.zip |
provisioning_api: Fix quota constants in OpenAPI
Signed-off-by: jld3103 <jld3103yt@gmail.com>
Diffstat (limited to 'apps/provisioning_api')
-rw-r--r-- | apps/provisioning_api/lib/ResponseDefinitions.php | 2 | ||||
-rw-r--r-- | apps/provisioning_api/openapi.json | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/apps/provisioning_api/lib/ResponseDefinitions.php b/apps/provisioning_api/lib/ResponseDefinitions.php index 4e562ec648f..edb9138659a 100644 --- a/apps/provisioning_api/lib/ResponseDefinitions.php +++ b/apps/provisioning_api/lib/ResponseDefinitions.php @@ -28,7 +28,7 @@ namespace OCA\Provisioning_API; /** * @psalm-type ProvisioningApiUserDetailsQuota = array{ * free?: float, - * quota?: float|string, + * quota?: float|int|string, * relative?: float, * total?: float, * used?: float, diff --git a/apps/provisioning_api/openapi.json b/apps/provisioning_api/openapi.json index 8a0e57d682a..58badb57461 100644 --- a/apps/provisioning_api/openapi.json +++ b/apps/provisioning_api/openapi.json @@ -517,6 +517,10 @@ "format": "float" }, { + "type": "integer", + "format": "int64" + }, + { "type": "string" } ] |