-
Notifications
You must be signed in to change notification settings - Fork 135
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
Correct type for priority field #959
Conversation
Signed-off-by: Jason Bertman <[email protected]>
Signed-off-by: Jason Bertman <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great catch, and thanks for adding the note to CHANGELOG. Only small request, we might want to tag this PR with "bug" if it's not already tagged with it. Imo it is a legitimate bug, though there could be something I'm missing.
This is definitely a bug, thanks for fixing it! |
Signed-off-by: Jason Bertman <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch!
Description of changes:
Other normalized string fields that map to an enum are strings, not integers. The sample data API generates a string for the
priority
field, which fails the JSON schema validation. This corrects the type to reflect the paradigm in the rest of the schema.