diff options
author | Cyborus <cyborus@cyborus.xyz> | 2024-10-23 20:22:24 +0200 |
---|---|---|
committer | Cyborus <cyborus@cyborus.xyz> | 2024-10-23 20:22:24 +0200 |
commit | 194f05da65c73882c4c9628c3954b768ac816e65 (patch) | |
tree | 22556bb2efd8420ae45f261d040bb8426951dd46 /swagger.v1.json | |
parent | fix: add missing `"format": "url"` fields (diff) | |
download | forgejo-api-194f05da65c73882c4c9628c3954b768ac816e65.tar.xz forgejo-api-194f05da65c73882c4c9628c3954b768ac816e65.zip |
feat: make quota subjects an enum
Diffstat (limited to '')
-rw-r--r-- | swagger.v1.json | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/swagger.v1.json b/swagger.v1.json index 810ab11..88253ff 100644 --- a/swagger.v1.json +++ b/swagger.v1.json @@ -19762,7 +19762,23 @@ "description": "The subjects affected by the rule", "type": "array", "items": { - "type": "string" + "type": "string", + "enum": [ + "none", + "size:all", + "size:repos:all", + "size:repos:public", + "size:repos:private", + "size:git:all", + "size:git:lfs", + "size:assets:all", + "size:assets:attachments:all", + "size:assets:attachments:issues", + "size:assets:attachments:releases", + "size:assets:artifacts", + "size:assets:packages:all", + "size:assets:wiki" + ] }, "x-go-name": "Subjects" } |