Recommend OAS2 fix: "minLength" not "minimum" for strings

In https://marketplace.zoom.us/docs/api-reference/zoom-api/Zoom%20API.oas2.json

There are several instances of the “password” attribute (User’s password, Meeting password, etc). Each time, they have a property “minimum” which is set to 8. “minimum” in OAS2 is for numeric fields! This appears to be a mistake in the spec, and it should be “minLength”.

OAS2 defers to JSON Schema for the interpretation of these keywords, which identifies “minimum” under “Validation keywords for numeric instances (number and integer)” and not under validationo keywords for strings.

Thanks for considering this fix. (currently breaks some OAS2 code gen systems)

https://tools.ietf.org/html/draft-fge-json-schema-validation-00

Thanks for sharing this @emsearcy!

We will work on getting this fixed! :slight_smile:

CC @shrijana.g

-Tommy

1 Like

Hey @emsearcy,

This issue is now fixed. Please try again.

Thanks,
Tommy