# OpenApiExporter

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

Exports API documentation to OpenAPI 3.0 format.

```csharp
public sealed class OpenApiExporter : IApiDocumentationExporter
```

#### Inheritance

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

#### Implements

[IApiDocumentationExporter](https://docs.sisk-framework.org/api/Sisk.Documenting.Exporters.IApiDocumentationExporter.md)

#### Inherited Members

[object.GetType\(\)](https://learn.microsoft.com/dotnet/api/system.object.gettype), 
[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)

## Constructors

| Name | Description |
| --- | --- |
| [OpenApiExporter\(\)](https://docs.sisk-framework.org/api/Sisk.Documenting.Exporters.OpenApiExporter.-ctor.md#Sisk_Documenting_Exporters_OpenApiExporter__ctor) | Initializes a new instance of the [OpenApiExporter](https://docs.sisk-framework.org/api/Sisk.Documenting.Exporters.OpenApiExporter.md) class. |

## Properties

| Name | Description |
| --- | --- |
| [Contact](https://docs.sisk-framework.org/api/Sisk.Documenting.Exporters.OpenApiExporter.Contact.md#Sisk_Documenting_Exporters_OpenApiExporter_Contact) | Gets or sets the contact information for the API. |
| [License](https://docs.sisk-framework.org/api/Sisk.Documenting.Exporters.OpenApiExporter.License.md#Sisk_Documenting_Exporters_OpenApiExporter_License) | Gets or sets the license information for the API. |
| [OpenApiVersion](https://docs.sisk-framework.org/api/Sisk.Documenting.Exporters.OpenApiExporter.OpenApiVersion.md#Sisk_Documenting_Exporters_OpenApiExporter_OpenApiVersion) | Gets or sets the OpenAPI version. Default is "3.0.0". |
| [ServerUrls](https://docs.sisk-framework.org/api/Sisk.Documenting.Exporters.OpenApiExporter.ServerUrls.md#Sisk_Documenting_Exporters_OpenApiExporter_ServerUrls) | Gets or sets the server URLs for the API. |
| [TermsOfService](https://docs.sisk-framework.org/api/Sisk.Documenting.Exporters.OpenApiExporter.TermsOfService.md#Sisk_Documenting_Exporters_OpenApiExporter_TermsOfService) | Gets or sets the terms of service URL for the API. |

## Methods

| Name | Description |
| --- | --- |
| [ExportDocumentationContent\(ApiDocumentation\)](https://docs.sisk-framework.org/api/Sisk.Documenting.Exporters.OpenApiExporter.ExportDocumentationContent.md#Sisk_Documenting_Exporters_OpenApiExporter_ExportDocumentationContent_Sisk_Documenting_ApiDocumentation_) | Exports the specified API documentation content to OpenAPI format. |
