Closed dikac closed 4 months ago
Hello, swaggest/openapi-go
library does not provide any request decoding facilities, could you clarify your use case? How do you decode request and how openapi-go
is related?
I'm closing this issue as likely not directly related to the lib, but feel free to reopen with more details.
Describe the bug
Content-Type: multipart/form-data; boundary=SOME-BOUNDARY
would fail to parse when request tag containformData
andjson
To Reproduce create a request struct with
formData
andjson
send request with content type
multipart/form-data
withboundary
would give Response
Expected behavior Data decoded successfully without error
Additional context problem seems to came from
function checkJSONBodyContentType