Class OpenApiMetadataAttribute
- Namespace
- Biwen.QuickApi.Attributes
- Assembly
- Biwen.QuickApi.dll
用于标记QuickApi的描述信息,标注HandlerBuilder(RouteHandlerBuilder)
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
public class OpenApiMetadataAttribute : Attribute
- Inheritance
-
OpenApiMetadataAttribute
- Inherited Members
- Extension Methods
Constructors
OpenApiMetadataAttribute(string?, string?)
用于标记QuickApi的描述信息,标注HandlerBuilder(RouteHandlerBuilder)
public OpenApiMetadataAttribute(string? summary, string? description)
Parameters
Properties
Description
Description
public string? Description { get; set; }
Property Value
IsDeprecated
标记为是否已过时.
public bool IsDeprecated { get; set; }
Property Value
OperationId
OperationId
public string? OperationId { get; set; }
Property Value
Summary
Summary
public string? Summary { get; set; }
Property Value
Tags
Tags
public string[] Tags { get; set; }
Property Value
- string[]