issues
search
flipstone
/
json-fleece
Extensible JSON Schemas for Haskell
MIT License
2
stars
1
forks
source link
OpenAPI arrays use 'minItems', not 'minLength'
#36
Closed
ysangkok
closed
5 months ago
ysangkok
commented
5 months ago
The PR #33 has two issues:
It doesn't handle inline schemas
It uses 'maxLength' instead of 'maxItems'. 'maxItems' is the right property per OpenAPI docs:
https://swagger.io/docs/specification/data-models/data-types/#array-length
This PR fixes both of those issues.
The PR #33 has two issues:
This PR fixes both of those issues.