Closed
Description
Adding the file
"primitive" is not something that is out-of-the-box validation by any JSON schema validator. It seems like this type is not a primitive, and also requires additional checks for consumes
.
This requires a special edge case just for validating when type
is file
. And in fact, it is not validating the type
, but rather the consumes
.
It seems lie the appropriate path would be to not add to JSON schema spec, since developers implementing tools for swagger would simply perform their own assertions for multipart/form at the framework level.
Metadata
Metadata
Assignees
Labels
No labels