Tag

data class Tag(val name: String, val description: String? = null, val externalDocs: ExternalDocs? = null)(source)

Allows adding metadata to a single tag that is used by @Operation@. It is not mandatory to have a @Tag@ per tag used there.

Report a problem

Constructors

Link copied to clipboard
constructor(name: String, description: String? = null, externalDocs: ExternalDocs? = null)

Properties

Link copied to clipboard

A short description for the tag. CommonMark syntax MAY be used for rich text representation.

Link copied to clipboard

Additional external documentation for this tag.

Link copied to clipboard

The name of the tag.