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

Date and DateTime with format argument not rendered correctly #938

Open
expobrain opened this issue Sep 2, 2024 · 0 comments
Open

Date and DateTime with format argument not rendered correctly #938

expobrain opened this issue Sep 2, 2024 · 0 comments

Comments

@expobrain
Copy link

When a Marshmallow Date or DateTime has a non-default format argument the output APISpec for the field has a format: null instead of format: date and format: date-time respectively.

The expected behaviour should be the latter as it was happening for versions of apispec before 6.4.

Created a draft PR #937 to showcase the fix.

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