Superficial fixes

This commit is contained in:
Cristi Vîjdea
2018-04-27 01:49:32 +03:00
parent 979ec84630
commit 4e7fa28744
2 changed files with 1 additions and 19 deletions
+1 -1
View File
@@ -437,7 +437,7 @@ class Schema(SwaggerDict):
super(Schema, self).__init__(**extra)
if required is True or required is False:
# common error
raise AssertionError("the `requires` attribute of schema must be an "
raise AssertionError("the `required` attribute of schema must be an "
"array of required property names, not a boolean!")
assert type, "type is required!"
self.title = title