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
Jane version(s) affected: 7.5.4
Description
Based on openapi documentation https://swagger.io/docs/specification/data-models/data-types/#string
Note that an empty string "" is a valid string unless minLength or pattern is specified.
but generated Normalizer does not respect it. Normalizer just validate that key exists, but does not validate empty, pattern or minLength
How to reproduce
"estimated_collection_date" : { "type" : "string", "format" : "date", "pattern" : "yyyy-mm-dd", "description" : "Date of collection for shipment" }, "estimated_delivery_date" : { "type" : "string", "format" : "date", "pattern" : "yyyy-mm-dd", "description" : "Date of delivery for shipment, if present" },
and JSON response with estimated_collection_date or estimated_delivery_date as empty string
estimated_collection_date
estimated_delivery_date
empty string
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Jane version(s) affected: 7.5.4
Description
Based on openapi documentation https://swagger.io/docs/specification/data-models/data-types/#string
but generated Normalizer does not respect it.
Normalizer just validate that key exists, but does not validate empty, pattern or minLength
How to reproduce
and JSON response with
estimated_collection_date
orestimated_delivery_date
asempty string
The text was updated successfully, but these errors were encountered: