We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I specified the model as:
class TestRoleSchema(db_schema.SQLAlchemyAutoSchema): class Meta: model = Role
If I have the datetime field, the result JSON will be:
created: format: "date-time" title: "created" type: "string"
The question is why the type is string when the original type is Date? Are there any specifications on data types?
Also, for boolean the type is presented as an array:
is_test_data: { title: "is_test_data" type: Array(2) 0: "boolean" 1: "null"}
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I specified the model as:
If I have the datetime field, the result JSON will be:
The question is why the type is string when the original type is Date? Are there any specifications on data types?
Also, for boolean the type is presented as an array:
The text was updated successfully, but these errors were encountered: