docs: adjust API documentation content#12920
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 5b014da241
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| "/core/commands/upload": { | ||
| "post": { | ||
| "responses": { |
There was a problem hiding this comment.
Document the command upload as multipart
For /core/commands/upload, the newly added operation is missing the required multipart request definition: UploadCommandCsv calls c.MultipartForm() and reads form.File["file"] in core/app/api/v2/command.go, so clients generated from this spec will not know to send a multipart/form-data file field and will send an unusable request shape.
Useful? React with 👍 / 👎.
No description provided.