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
Hi there @ahx ,
I have this spec:
paths: /api/v1/test: post: summary: test requestBody: required: true content: multipart/form-data: schema: properties: id: type: string format: uuid
And when I try to do a POST with form-data on Postman, I get
form-data
{ "errors": [ { "status": "415", "title": "Unsupported Media Type" } ] }
Is is my Postman request body:
and headers:
Any idea why the response is unsupported Media Type?
thanks so much for this gem!
The text was updated successfully, but these errors were encountered:
hi @fmarkwong currently openapi_first does not support form-data. But I think I can add add it soon. 👷🏼
Sorry, something went wrong.
@ahx that would be fantastic! Thank you!
@fmarkwong form-data should work with #152. Do you mind testing if it works for you?
Released in 0.21.0
No branches or pull requests
Hi there @ahx ,
I have this spec:
And when I try to do a POST with
form-data
on Postman, I getIs is my Postman request body:
![Screen Shot 2022-12-20 at 9 45 44 PM](https://user-images.githubusercontent.com/2770074/208831541-5b5c7023-59db-4152-b172-3e5dd27172ac.png)
and headers:
Any idea why the response is unsupported Media Type?
thanks so much for this gem!
The text was updated successfully, but these errors were encountered: