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

fix(oas): validate falsy examples #1418

Merged
merged 2 commits into from
Dec 23, 2020
Merged

Conversation

P0lip
Copy link
Contributor

@P0lip P0lip commented Dec 9, 2020

When working on #1402, I realized we didn't validate falsy example values properly.

Checklist

  • Tests added / updated
  • Docs added / updated

Does this PR introduce a breaking change?

  • Yes
  • No

@P0lip P0lip added the t/bug Something isn't working label Dec 9, 2020
@P0lip P0lip requested review from philsturgeon and a team December 9, 2020 19:16
@P0lip P0lip self-assigned this Dec 9, 2020
@billiegoose
Copy link
Contributor

whats with the decimal.js stuff?

Copy link
Contributor

@billiegoose billiegoose left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@P0lip
Copy link
Contributor Author

P0lip commented Dec 23, 2020

whats with the decimal.js stuff?

decimal.js is more 'precise'.
image

image

@P0lip P0lip merged commit 1212ec8 into develop Dec 23, 2020
@P0lip P0lip deleted the fix/validate-falsy-examples branch December 23, 2020 16:48
P0lip added a commit that referenced this pull request Jan 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
t/bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants