Skip to content
New issue

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

Schema rendering: improve type string with minLength == maxLength #212

Closed
dolmen opened this issue Feb 24, 2017 · 1 comment
Closed

Schema rendering: improve type string with minLength == maxLength #212

dolmen opened this issue Feb 24, 2017 · 1 comment

Comments

@dolmen
Copy link

dolmen commented Feb 24, 2017

type: string
minLength: 22
maxLength: 22

should be rendered like this: exactly 22 characters (or a variation)

Currently it is rendered as [22..22] characters which is less readable for humans.

This is related to #192. Both should be fixed together.

@dolmen dolmen changed the title Schema rendering: improve display type string with minLength == maxLength Schema rendering: improve type string with minLength == maxLength Feb 24, 2017
@RomanHotsiy
Copy link
Member

@dolmen thanks! Awesome suggestion!
Both will be shipped in the next release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants