We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Swagger 2.0 multipart/form-data defined as below:
consumes: - multipart/form-data produces: - application/json parameters: - type: file name: artifact in: formData required: true - type: file name: metadata in: formData
And after converting, in OAS 3, it becomes:
requestBody: content: multipart/form-data: schema: required: - artifact properties: artifact: type: string format: binary metadata: type: string format: binary
Under schema section, missing type: object property. It should be:
schema
type: object
requestBody: content: multipart/form-data: schema: type: object required: - artifact properties: artifact: type: string format: binary metadata: type: string format: binary
The text was updated successfully, but these errors were encountered:
Any update on this? facing the same issue , any work arounds?
Sorry, something went wrong.
The fix is in swagger-api/swagger-parser#1713
No branches or pull requests
Swagger 2.0 multipart/form-data defined as below:
And after converting, in OAS 3, it becomes:
Under
schema
section, missingtype: object
property. It should be:The text was updated successfully, but these errors were encountered: