# AzureApiManagementOpenApiFormat

- Kind: `enum`
- Package: [Aspire.Hosting.Azure.ApiManagement](/reference/api/csharp/aspire.hosting.azure.apimanagement.md)
- Version: `17.0.0-preview.1.26567.5`
- Namespace: `Aspire.Hosting.Azure`
- Target framework: `net10.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/2d325b13709752ba6d9a943635c5e2940a2530c0/src/Aspire.Hosting.Azure.ApiManagement/AzureApiManagementOpenApiFormat.cs)

Specifies the OpenAPI document format imported into Azure API Management.

## Definition

```csharp
namespace Aspire.Hosting.Azure;

public enum AzureApiManagementOpenApiFormat
```

## Enum Members

| Name | Value | Description |
| --- | --- | --- |
| OpenApi | 0 | An OpenAPI document serialized as YAML. |
| OpenApiJson | 1 | An OpenAPI document serialized as JSON. |
| SwaggerJson | 2 | A Swagger 2.0 document serialized as JSON. |
