Add documentation about excluding endpoints

Closes #50.
This commit is contained in:
Cristi Vîjdea
2018-01-24 17:38:10 +02:00
parent a3e81ef7f6
commit a211184478
6 changed files with 55 additions and 18 deletions
+3
View File
@@ -45,6 +45,9 @@ class EndpointEnumerator(_EndpointEnumerator):
if version and version not in namespace.split(':'):
return False
if getattr(callback.cls, 'swagger_schema', object()) is None:
return False
return True
def replace_version(self, path, callback):