(document openapi3.T)
| 54 | } |
| 55 | |
| 56 | func (p OpenApiParser) getDocumentDescription(document openapi3.T) string { |
| 57 | if document.Info == nil { |
| 58 | return "" |
| 59 | } |
| 60 | return document.Info.Description |
| 61 | } |
| 62 | |
| 63 | func (p OpenApiParser) getDocumentText(name string, document openapi3.T) (string, string) { |
| 64 | result := LookupDescription(name) |