Table of Contents

Class ApiRequestAttribute

Namespace
Sisk.Documenting.Annotations
Assembly
Sisk.Documenting.dll

Specifies an attribute for an API request, allowing metadata such as description, example language, and example content to be associated with methods.

[AttributeUsage(AttributeTargets.Method, AllowMultiple = true)]
public sealed class ApiRequestAttribute : Attribute
Inheritance
ApiRequestAttribute
Inherited Members

Constructors

ApiRequestAttribute(string)

Initializes a new instance of the ApiRequestAttribute class with the specified description.

Properties

Description

Gets or sets the description of the API request.

Example

Gets or sets the actual example request content.

ExampleLanguage

Gets or sets the programming language used in the example, if applicable.