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

Is ExclusiveMinimum/ExclusiveMaximum checked when creating the request #10038

Open
jgarciadelanoceda opened this issue Jun 20, 2024 · 0 comments

Comments

@jgarciadelanoceda
Copy link

jgarciadelanoceda commented Jun 20, 2024

I have recently added support for ExclusiveMinimum/ExclusiveMaximum for Swashbuckle a C# library that uses Swagger-ui under the hood. It uses it and it provides a OpenApi document with the version 3.0.1. I do not know if the fields ExclusiveMinimum or ExclusiveMaximum have changed from the version 3.0.1, but with my PR the library now puts the values as a boolean value

When doing the request with a parameter that has a Maximum or Minimum with the exclusive value does not prevent me from doing it.
I have also test outside of the boundary and the page is preventing me from doing it.

The related issue:
domaindrivendev/Swashbuckle.AspNetCore#2957

@jgarciadelanoceda jgarciadelanoceda changed the title Is IsMaximum/MinimumExclusive checked when creating the request Is ExclusiveMinimum/ExclusiveMaximum checked when creating the request Jun 20, 2024
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