Open thebino opened 3 years ago
More precisely it only happens when using openapi_version='3.0.0'
when switching to version 2.0.0 it looks normal.
app.config['APISPEC_SPEC'] = apispec.APISpec(
title='Vehicles booking API',
version='1.0.0',
openapi_version='3.0.0',
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.