# ApiEndpointAttribute constructor

Kind: Constructor  
Namespace: `Sisk.Documenting.Annotations`  
Assembly: `Sisk.Documenting.dll`  
Source: https://docs.sisk-framework.org/api/Sisk.Documenting.Annotations.ApiEndpointAttribute.-ctor.html

## ApiEndpointAttribute(string) {#Sisk_Documenting_Annotations_ApiEndpointAttribute__ctor_System_String_}

Initializes a new instance of the [ApiEndpointAttribute](https://docs.sisk-framework.org/api/Sisk.Documenting.Annotations.ApiEndpointAttribute.md) class with the specified endpoint name.

```csharp
public ApiEndpointAttribute(string name)
```

### Parameters

`name` [string](https://learn.microsoft.com/dotnet/api/system.string)

The name of the API endpoint.
