-
Notifications
You must be signed in to change notification settings - Fork 477
Open
Description
As per the OpenAPI v2 documentation, If type is "file", the [consumes](https://swagger.io/specification/v2/#operationConsumes) MUST be either "multipart/form-data", " application/x-www-form-urlencoded" or both and the parameter MUST be [in](https://swagger.io/specification/v2/#parameterIn) "formData".
Currently, grape-swagger
processes file
parameters normally and does not enforce these requirements, leading to invalid OpenAPI v2 output.
Metadata
Metadata
Assignees
Labels
No labels