OpenQuizz
Une application de gestion des contenus pédagogiques
swagger.py File Reference

Data Structures

class  Swagger
 

Namespaces

 flask_restplus.swagger
 

Functions

def ref (model)
 
def extract_path (path)
 
def extract_path_params (path)
 
def parse_docstring (obj)
 
def is_hidden (resource, route_doc=None)
 

Variables

dictionary PATH_TYPES
 
dictionary PY_TYPES
 
 RE_URL = re.compile(r'<(?:[^:<>]+:)?([^<>]+)>')
 
string DEFAULT_RESPONSE_DESCRIPTION = 'Success'
 
dictionary DEFAULT_RESPONSE = {'description': DEFAULT_RESPONSE_DESCRIPTION}
 
 RE_RAISES = re.compile(r'^:raises\s+(?P<name>[\w\d_]+)\s*:\s*(?P<description>.*)$', re.MULTILINE)