Bug report
Describe the bug
The OpenAPI document does not have request body for post and put requests for object endpoint. It only has path and header parameters.
To Reproduce
https://supabase.github.io/storage/api.json
"/object/{bucketName}/{wildcard}": {
"post": {
"summary": "Upload a new object",
"tags": ["object"],
"parameters": [
{
"schema": { "type": "string" },
"example": "avatars",
"in": "path",
"name": "bucketName",
"required": true
},
{
"schema": { "type": "string" },
"example": "folder/cat.png",
"in": "path",
"name": "*",
"required": true
},
{
"schema": { "type": "string" },
"example": "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24ifQ.625_WdcF3KHqz5amU0x2X5WWHP-OEs_4qj0ssLNHzTs",
"in": "header",
"name": "authorization",
"required": true
}
],
"responses": {
"200": {
"description": "Successful response",
}
Expected behavior
In one of the SDKs I see that the body should be multipart form body? What are the required and optional fields?
The endpoints should have requestBody property with the appropriate content type and fields.
Bug report
Describe the bug
The OpenAPI document does not have request body for post and put requests for object endpoint. It only has path and header parameters.
To Reproduce
https://supabase.github.io/storage/api.json
Expected behavior
In one of the SDKs I see that the body should be multipart form body? What are the required and optional fields?
The endpoints should have
requestBodyproperty with the appropriate content type and fields.