(name string, document openapi3.T)
| 61 | } |
| 62 | |
| 63 | func (p OpenApiParser) getDocumentText(name string, document openapi3.T) (string, string) { |
| 64 | result := LookupDescription(name) |
| 65 | if result != nil { |
| 66 | return result.Summary, result.Description |
| 67 | } |
| 68 | return p.getDocumentSummary(document), p.getDocumentDescription(document) |
| 69 | } |
| 70 | |
| 71 | func (p OpenApiParser) getCategoryText(definitionName string, name string, tag *openapi3.Tag) (string, string) { |
| 72 | result := LookupDescription(definitionName + " " + name) |
no test coverage detected