You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a path requires a request body of type application/json but the request has no Content-Type header set, express-openapi-validator will produce the following error:
415 - unsupported media type not_provided
This is hard to understand - not_provided seems to be used as an internal constant for missing Content-Type but this should perhaps not be returned outside of the module? A better error message would be:
415 - media type not specified
The text was updated successfully, but these errors were encountered:
If a path requires a request body of type
application/json
but the request has noContent-Type
header set, express-openapi-validator will produce the following error:415 -
unsupported media type not_provided
This is hard to understand -
not_provided
seems to be used as an internal constant for missingContent-Type
but this should perhaps not be returned outside of the module? A better error message would be:415 -
media type not specified
The text was updated successfully, but these errors were encountered: