Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation and Context
Addresses this issue: #154
When the JSON schema specifies an integer, the current implementation displays a text field and ends up sending the input as a string, which isn't compliant with the JSON spec.
Changes made:
Integer Field Handling
type="number" step="1"
Form Field Improvements
Value Generation
Array and Object Handling
How Has This Been Tested?
I am still testing this with a real example of a schema with integer type. Will take this out of draft once tested.
Breaking Changes
No
Types of changes
Checklist