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