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

[BUG] inaccurate numeric type #596

Open
amberzsy opened this issue Oct 2, 2024 · 2 comments
Open

[BUG] inaccurate numeric type #596

amberzsy opened this issue Oct 2, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@amberzsy
Copy link
Contributor

amberzsy commented Oct 2, 2024

What is the bug?

there are many places using generic "number" as numeric type.

How can one reproduce the bug?

example:

What is the expected behavior?

should use more accurate definition for numeric types.
https://swagger.io/docs/specification/v3_0/data-models/data-types/

@dblock
Copy link
Member

dblock commented Oct 16, 2024

@amberzsy Is there more than #598 and #612?

I think we need a lint rule for these.

@amberzsy
Copy link
Contributor Author

amberzsy commented Oct 16, 2024

@amberzsy Is there more than #598 and #612?

yes probably more.....
maybe let me update the ticket with scope of Search & Document API?

I think we need a lint rule for these.

yes, agree. issue opened here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants