# ApiDocumentationBuilderExtensions

Kind: Class  
Namespace: `Sisk.Documenting`  
Assembly: `Sisk.Documenting.dll`  
Source: https://docs.sisk-framework.org/api/Sisk.Documenting.ApiDocumentationBuilderExtensions.html

Provides extension methods for configuring API documentation generation and exposure on an HTTP server host.

```csharp
public static class ApiDocumentationBuilderExtensions
```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ← 
[ApiDocumentationBuilderExtensions](https://docs.sisk-framework.org/api/Sisk.Documenting.ApiDocumentationBuilderExtensions.md)

#### Inherited Members

[object.GetType\(\)](https://learn.microsoft.com/dotnet/api/system.object.gettype), 
[object.MemberwiseClone\(\)](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone), 
[object.ToString\(\)](https://learn.microsoft.com/dotnet/api/system.object.tostring), 
[object.Equals\(object?\)](https://learn.microsoft.com/dotnet/api/system.object.equals\#system\-object\-equals\(system\-object\)), 
[object.Equals\(object?, object?\)](https://learn.microsoft.com/dotnet/api/system.object.equals\#system\-object\-equals\(system\-object\-system\-object\)), 
[object.ReferenceEquals\(object?, object?\)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals), 
[object.GetHashCode\(\)](https://learn.microsoft.com/dotnet/api/system.object.gethashcode)

## Methods

| Name | Description |
| --- | --- |
| [UseApiDocumentation\(HttpServerHostContextBuilder, ApiGenerationContext, string, IApiDocumentationExporter?\)](https://docs.sisk-framework.org/api/Sisk.Documenting.ApiDocumentationBuilderExtensions.UseApiDocumentation.md#Sisk_Documenting_ApiDocumentationBuilderExtensions_UseApiDocumentation_Sisk_Core_Http_Hosting_HttpServerHostContextBuilder_Sisk_Documenting_ApiGenerationContext_System_String_Sisk_Documenting_Exporters_IApiDocumentationExporter_) | Configures the application to expose generated API documentation at the specified router path. |
| [UseApiDocumentation\(HttpServerHostContextBuilder\)](https://docs.sisk-framework.org/api/Sisk.Documenting.ApiDocumentationBuilderExtensions.UseApiDocumentation.md#Sisk_Documenting_ApiDocumentationBuilderExtensions_UseApiDocumentation_Sisk_Core_Http_Hosting_HttpServerHostContextBuilder_) | Configures the application to expose generated API documentation at the default router path "/api/docs" using an empty [ApiGenerationContext](https://docs.sisk-framework.org/api/Sisk.Documenting.ApiGenerationContext.md). |
