Class OpenApiTagMetadata
Namespace: Cephalon.AspNetCore.Documentation
Assembly: Cephalon.AspNetCore.dll
Describes OpenAPI tag metadata projected from ASP.NET Core route groups or endpoints.
public sealed record OpenApiTagMetadata : IEquatable<OpenApiTagMetadata>Inheritance
Section titled “Inheritance”Implements
Section titled “Implements”IEquatable<OpenApiTagMetadata>
Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
Section titled “Constructors”OpenApiTagMetadata(string, string?)
Section titled “ OpenApiTagMetadata(string, string?)”Describes OpenAPI tag metadata projected from ASP.NET Core route groups or endpoints.
public OpenApiTagMetadata(string Name, string? Description)Parameters
Section titled “Parameters”Name string
The public tag name shown in OpenAPI and Scalar.
Description string?
The optional tag description shown in OpenAPI and Scalar.
Properties
Section titled “Properties”Description
Section titled “ Description”The optional tag description shown in OpenAPI and Scalar.
public string? Description { get; init; }Property Value
Section titled “Property Value”The public tag name shown in OpenAPI and Scalar.
public string Name { get; init; }