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

Do not accepting float number in integer type #468

Merged
merged 1 commit into from
Jul 5, 2022

Conversation

wingyplus
Copy link

@wingyplus wingyplus commented Jul 5, 2022

Treat float number as invalid type when set type to :integer.

Fixes #467

Treat float number as invalid type when set type to `:integer`.

Fixes open-api-spex#467
@wingyplus wingyplus force-pushed the strict-integer-type branch from f3929c7 to b4693e9 Compare July 5, 2022 03:17
Copy link
Collaborator

@mbuhot mbuhot left a comment

Choose a reason for hiding this comment

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

👍 Thanks

@mbuhot mbuhot merged commit a05398e into open-api-spex:master Jul 5, 2022
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

Successfully merging this pull request may close these issues.

Proposal: integer type should accept data only integer and string that is integer only
3 participants