protected string GetComment(RAML.Parser.Model.EndPoint resource, Operation method, string url) { var description = resource.Description; if (!string.IsNullOrWhiteSpace(method.Description)) { description += string.IsNullOrWhiteSpace(description) ? method.Description : ". " + method.Description; } if (description != null) { description = new SchemaParameterParser(new EnglishPluralizationService()).Parse(description, resource, method, url); } description = ParserHelpers.RemoveNewLines(description); if (!string.IsNullOrWhiteSpace(resource.Path)) { description += string.IsNullOrWhiteSpace(description) ? resource.Path : " - " + resource.Path; } return(description); }