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