Several objects have both a description and a summary field. The distinction seems to be that summaries are plaintext and should be <= 120 chars, while descriptions are markdown and can be arbitrarily long.
I'd like to have an optional summary field in the Info Object e.g. for display in API Galleries. Currently to achieve this on AnyAPI we strip HTML/md out of the description field and truncate it, which isn't great.
I'd also like to see a higher level note about summary vs. description and add the "SHOULD be <= 120 characters" to each summary field (right now it's just mentioned on operation.summary)
Several objects have both a
descriptionand asummaryfield. The distinction seems to be that summaries are plaintext and should be <= 120 chars, while descriptions are markdown and can be arbitrarily long.I'd like to have an optional
summaryfield in the Info Object e.g. for display in API Galleries. Currently to achieve this on AnyAPI we strip HTML/md out of thedescriptionfield and truncate it, which isn't great.I'd also like to see a higher level note about
summaryvs.descriptionand add the "SHOULD be <= 120 characters" to each summary field (right now it's just mentioned onoperation.summary)