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

vatPercentage should support decimals #105

Open
JanMkl opened this issue Apr 16, 2024 · 1 comment
Open

vatPercentage should support decimals #105

JanMkl opened this issue Apr 16, 2024 · 1 comment
Labels
question Further information is requested

Comments

@JanMkl
Copy link

JanMkl commented Apr 16, 2024

Describe the bug

vatPercentage is defined in the API documentation to be an integer. Snippet from the OpenAPI3 documentation:
vatPercentage:
type: integer
format: int64
example: 24
minimum: 0
maximum: 100
description: Item VAT percentage

Steps to Reproduce

Set a float and validate against the OpenAPI definition a type error produced.

Expected behaviour

The type should allow floats or other type of decimal numbers.

Actual behaviour

.

Screenshots

.

Additional context

.

@JanMkl JanMkl added the question Further information is requested label Apr 16, 2024
@atrotossavainen
Copy link

See #28

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

No branches or pull requests

2 participants