Class ApiEndpointAttribute
- Namespace
- Sisk.Documenting.Annotations
- Assembly
- Sisk.Documenting.dll
Specifies an attribute for an API endpoint, allowing metadata such as name, description, and group to be associated with methods.
[AttributeUsage(AttributeTargets.Method, AllowMultiple = false)]
public sealed class ApiEndpointAttribute : Attribute
- Inheritance
-
ApiEndpointAttribute
- Inherited Members
Constructors
- ApiEndpointAttribute(string)
Initializes a new instance of the ApiEndpointAttribute class with the specified endpoint name.
Properties
- Description
Gets or sets the description of the API endpoint.
- Group
Gets or sets the group to which the API endpoint belongs.
- Name
Gets or sets the name of the API endpoint.