You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using fields.DateTime in a use_kwargs it is rendered as string in swagger/openapi.
@use_kwargs(
{
'from': fields.DateTime(
format="rfc",
default=datetime.datetime.now(),
description="The timestamp a vehicle should be available from"
)
}, location='query')
When using it inside the swagger editor, it is rendered as string($date-time)
This is more conclusive for developers since the string has a specific format.
The text was updated successfully, but these errors were encountered:
When using
fields.DateTime
in ause_kwargs
it is rendered as string in swagger/openapi.When using it inside the swagger editor, it is rendered as
string($date-time)
This is more conclusive for developers since the string has a specific format.
The text was updated successfully, but these errors were encountered: