Filter HEAD out from schemas

This commit is contained in:
Tom Christie 2016-08-05 10:03:40 +01:00
parent 54096dc22f
commit 66c7c63faf

View File

@ -167,7 +167,7 @@ class SchemaGenerator(object):
return [
method for method in
callback.cls().allowed_methods if method != 'OPTIONS'
callback.cls().allowed_methods if method not in ('OPTIONS', 'HEAD')
]
def get_key(self, path, method, callback):