Skip to content

Summary field in Info Object #832

Closed
PhilYue/OpenAPI-Specification
#1
@rbren

Description

@rbren

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions