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: show required properties first, ordered #191

Closed
dolmen opened this issue Feb 1, 2017 · 0 comments
Closed

Schema rendering: show required properties first, ordered #191

dolmen opened this issue Feb 1, 2017 · 0 comments

Comments

@dolmen
Copy link

dolmen commented Feb 1, 2017

  1. In a schema definition the most important properties are the ones specified as required. It would be helpful to show them first, and show the optional properties after.

  2. The required property is an array that gives an order for those required properties. It would be better to use that order to render the properties instead of using only Unicode order on property names. Optional properties would stay ordered by name.

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

No branches or pull requests

2 participants