Skip to content

Limit is typed as int, so allow negative values, but these do not result in an error #29

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

Open
philvarner opened this issue Feb 12, 2025 · 0 comments
Labels
good first issue Good for newcomers [package] stapi-fastapi FastAPI server implementation

Comments

@philvarner
Copy link
Contributor

Currently, the limit parameter is typed as an in int, whereas it would be better to type it as NonNegativeInt and get that additional validation.

@gadomski gadomski transferred this issue from stapi-spec/stapi-fastapi Apr 2, 2025
@gadomski gadomski added [package] stapi-fastapi FastAPI server implementation good first issue Good for newcomers labels Apr 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers [package] stapi-fastapi FastAPI server implementation
Projects
No open projects
Development

No branches or pull requests

2 participants