def get_api_spec(): response.content_type = 'text/yaml' return wr_api_spec.get_api_spec_yaml()
def get_api_spec_yaml(): response.content_type = 'text/yaml' return wr_api_spec.get_api_spec_yaml(self.access.is_superuser())
def get_api_spec(): response.content_type = 'text/yaml' return wr_api_spec.get_api_spec_yaml()
def get_api_spec_yaml(): response.content_type = 'text/yaml' return wr_api_spec.get_api_spec_yaml(self.access.is_superuser())