Skip to content

Commit

Permalink
Superficial fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
axnsan12 committed Apr 26, 2018
1 parent 979ec84 commit 4e7fa28
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 19 deletions.
2 changes: 1 addition & 1 deletion src/drf_yasg/openapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ def __init__(self, title=None, description=None, type=None, format=None, enum=No
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
Expand Down
18 changes: 0 additions & 18 deletions src/drf_yasg/templates/drf-yasg/redoc-alpha.html

This file was deleted.

0 comments on commit 4e7fa28

Please sign in to comment.