Skip to content

Commit

Permalink
Merge pull request #40426 from nextcloud/fix/openapi/provisioning_api…
Browse files Browse the repository at this point in the history
…/quota

provisioning_api: Fix quota constants in OpenAPI
  • Loading branch information
julien-nc authored Sep 17, 2023
2 parents b2e1084 + 3f16650 commit 039ac09
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion apps/provisioning_api/lib/ResponseDefinitions.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
/**
* @psalm-type ProvisioningApiUserDetailsQuota = array{
* free?: float,
* quota?: float|string,
* quota?: float|int|string,
* relative?: float,
* total?: float,
* used?: float,
Expand Down
4 changes: 4 additions & 0 deletions apps/provisioning_api/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -516,6 +516,10 @@
"type": "number",
"format": "float"
},
{
"type": "integer",
"format": "int64"
},
{
"type": "string"
}
Expand Down

0 comments on commit 039ac09

Please sign in to comment.