ContentFormat Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Format of the Content in which the API is getting imported. New formats can be added in the future.
public enum ContentFormat
type ContentFormat =
Public Enum ContentFormat
- Inheritance
-
ContentFormat
Fields
| Name | Value | Description |
|---|---|---|
| WadlXml | 0 | The contents are inline and Content type is a WADL document. |
| WadlLinkJson | 1 | The WADL document is hosted on a publicly accessible internet address. |
| SwaggerJson | 2 | The contents are inline and Content Type is a OpenAPI 2.0 JSON Document. |
| SwaggerLinkJson | 3 | The OpenAPI 2.0 JSON document is hosted on a publicly accessible internet address. |
| Wsdl | 4 | The contents are inline and the document is a WSDL/Soap document. |
| WsdlLink | 5 | The WSDL document is hosted on a publicly accessible internet address. |
| OpenApi | 6 | The contents are inline and Content Type is a OpenAPI 3.0 YAML Document. |
| OpenApiJson | 7 | The contents are inline and Content Type is a OpenAPI 3.0 JSON Document. |
| OpenApiLink | 8 | The OpenAPI 3.0 YAML document is hosted on a publicly accessible internet address. |
| OpenApiJsonLink | 9 | The OpenAPI 3.0 JSON document is hosted on a publicly accessible internet address. |
| GraphQLLink | 10 | The GraphQL API endpoint hosted on a publicly accessible internet address. |
| Odata | 11 | The contents are inline and Content Type is a OData XML Document. |
| OdataLink | 12 | The OData metadata document hosted on a publicly accessible internet address. |
| Grpc | 13 | The contents are inline and Content Type is a gRPC protobuf file. |
| GrpcLink | 14 | The gRPC protobuf file is hosted on a publicly accessible internet address. |