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

An "\example\ property should be multiple of 0.01" occurs for an example value of 154123.99 #111

Open
peteraritchie opened this issue Oct 4, 2021 · 1 comment

Comments

@peteraritchie
Copy link

An "`example` property should be multiple of 0.01" occurs for an example value of 154123.99

To Reproduce

  1. Given this schema:
    Amount:
      type: number
      format: double
      multipleOf: 0.01
      example: 154123.99
  1. See an error

Expected behavior
Expected that a valid example would not result in an error.

Screenshots
image

Environment:

  • Extension version: [e.g. 0.2.5]
  • VS Code version: [e.g. 1.60.2]
  • Operating System: [e.g. Windows 10]
@savage-alex
Copy link
Contributor

Hi, I have been using multiple of for Currency values and do not get this error. Is it resolved in a newer version please?
image

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

No branches or pull requests

2 participants