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
ModelSchema
id > (integer | null)
Describe the bug
Having this model definition:
class MyModel(ModelSchema): class Meta: model = MyModel fields = ["id"]
Produces next definition on Swagger: id > (integer | null).
However this definition:
class MyModel(ModelSchema): id: int class Meta: model = MyModel
Produces id* integer as expected. SQL is default — id bigint NOT NULL
id* integer
id bigint NOT NULL
Versions (please complete the following information):
Probably a duplicate of #907
The text was updated successfully, but these errors were encountered:
What does your MyModel orm model look like?
Sorry, something went wrong.
No branches or pull requests
Describe the bug
Having this model definition:
Produces next definition on Swagger:
id > (integer | null)
.However this definition:
Produces
id* integer
as expected. SQL is default —id bigint NOT NULL
Versions (please complete the following information):
Probably a duplicate of #907
The text was updated successfully, but these errors were encountered: