-
Notifications
You must be signed in to change notification settings - Fork 525
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'File' type validation #1
Comments
fge
added a commit
that referenced
this issue
Apr 24, 2014
Use oneOf: * either the object must not have "File" as a "type"; * or its "paramType" and "consumes" members must comply.
Closed
Closing for now, will reopen should an issue arise. |
Closed
fehguy
pushed a commit
that referenced
this issue
Jun 7, 2017
Update json-schema-validator (SONATYPE-2015-0090)
cvgaviao
pushed a commit
to cvgaviao/swagger-parser
that referenced
this issue
Apr 9, 2019
…-conversion Fix OAS2 parameter conversion
gracekarina
pushed a commit
that referenced
this issue
May 15, 2019
Update to latest swagger-api/swagger-parser
gracekarina
pushed a commit
that referenced
this issue
Aug 10, 2019
Merge pull request #1134 from scottr-ad/master
gracekarina
pushed a commit
that referenced
this issue
Oct 19, 2022
Get latest changes from swagger-parser origin repository
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
According to - https://github.com/wordnik/swagger-spec/blob/master/versions/1.2.md#434-file - "When using File, the consumes field MUST be "multipart/form-data", and the paramType MUST be "form". ".
In the pet store sample there's a bug where the paramType is "body" - http://petstore.swagger.wordnik.com/api/api-docs/pet - check out the POST operation on "/pet/uploadImage".
The text was updated successfully, but these errors were encountered: