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

Add minimum/maximum on date/datetime fields #440

Open
lafrech opened this issue Apr 29, 2019 · 0 comments
Open

Add minimum/maximum on date/datetime fields #440

lafrech opened this issue Apr 29, 2019 · 0 comments

Comments

@lafrech
Copy link
Member

lafrech commented Apr 29, 2019

Python's date/datetime objects have min/max bounds.

https://docs.python.org/3.5/library/datetime.html
https://stackoverflow.com/a/31972447/4653485

We should use those to automatically specify min/max values in the spec.

codeasashu added a commit to codeasashu/apispec that referenced this issue Sep 20, 2021
codeasashu added a commit to codeasashu/apispec that referenced this issue Sep 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant