-
Notifications
You must be signed in to change notification settings - Fork 262
Closed
Description
in V2
When I don't have a consumes property, I get the content of the previous action.
for example:
/pet/{petId}/upload: {
post: {
summary: "uploads an image",
description: "",
operationId: "uploadFile",
consumes: ["multipart/form-data"],
produces: ["application/json"],
parameters: [{
{
name: "file",
in: "formData",
description: "file to upload",
required: false,
type: "file"
}]
}
},
/store/inventory: {
get: {
tags: ["store"],
summary: "Returns by status",
description: "Returns a map of status codes to quantities",
operationId: "getInventory",
produces: ["application/json"],
parameters: []
}
}
The RequestBody.Content that I get for the second action is "multipart/form-data"
Metadata
Metadata
Assignees
Labels
No labels