Repository navigation
feat: API specs update for version latest - #120
Conversation
|
| } | ||
| ] | ||
| ], | ||
| "nullable": true |
There was a problem hiding this comment.
Conflicting compression constraints On
PUT /storage/buckets/{bucketId}, the schema now allows compression to be null, but its three alternatives accept only the strings none, gzip, and zstd. A request with "compression": null is therefore permitted by one part of the contract and rejected by another, causing schema validation to fail.
Knowledge Base Used: Published API contract artifacts
Prompt To Fix With AI
This is a comment left during a code review.
Path: specs/latest/open-api3-latest.json
Line: 97982
Comment:
**Conflicting compression constraints** On `PUT /storage/buckets/{bucketId}`, the schema now allows `compression` to be null, but its three alternatives accept only the strings `none`, `gzip`, and `zstd`. A request with `"compression": null` is therefore permitted by one part of the contract and rejected by another, causing schema validation to fail.
**Knowledge Base Used:** [Published API contract artifacts](https://app.greptile.com/appwrite/-/custom-context/knowledge-base/appwrite/specs/-/docs/api-contract-artifacts.md)
---
For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.
This PR contains API specification updates for version latest.