Skip to content
This repository has been archived by the owner on Jan 11, 2021. It is now read-only.

Stable/0.3.x: Schema object's required field cannot be empty #686

Open
wants to merge 1 commit into
base: stable/0.3.x
Choose a base branch
from

Conversation

tuffnatty
Copy link

According to JSON Schema specification, required field of a schema object is a stringArray which means it should have at least one element. So skip the required field if there are no required properties, to make schema validation pass.

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

Successfully merging this pull request may close these issues.

None yet

1 participant