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

SwagParamQuery isNumber true #34

Open
ds-sampaio opened this issue Sep 18, 2023 · 0 comments
Open

SwagParamQuery isNumber true #34

ds-sampaio opened this issue Sep 18, 2023 · 0 comments

Comments

@ds-sampaio
Copy link

SwagParamQuery ao setar isNumber como true o Swagger so aceita valores inteiros.
Não aceita valores decimais
Configuração:
[SwagParamQuery('percentual', 'Percentual',true,true)]
Exemplo: Ao informar 2,15 ocorre o erro abaixo:
Please correct the following errors and try again.
Value muste be an integer

Obs: tentei passar 2.15 também mas sem sucesso.

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

1 participant