Interface SchemaContract.UpdateStages.WithContentType
-
- All Known Subinterfaces:
SchemaContract.Update
- Enclosing interface:
- SchemaContract.UpdateStages
public static interface SchemaContract.UpdateStages.WithContentType
The stage of the SchemaContract update allowing to specify contentType.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SchemaContract.Update
withContentType(String contentType)
Specifies the contentType property: Must be a valid a media type used in a Content-Type header as defined in the RFC 2616.
-
-
-
Method Detail
-
withContentType
SchemaContract.Update withContentType(String contentType)
Specifies the contentType property: Must be a valid a media type used in a Content-Type header as defined in the RFC 2616. Media type of the schema document (e.g. application/json, application/xml). </br> - `Swagger` Schema use `application/vnd.ms-azure-apim.swagger.definitions+json` </br> - `WSDL` Schema use `application/vnd.ms-azure-apim.xsd+xml` </br> - `OpenApi` Schema use `application/vnd.oai.openapi.components+json` </br> - `WADL Schema` use `application/vnd.ms-azure-apim.wadl.grammars+xml`..- Parameters:
contentType
- Must be a valid a media type used in a Content-Type header as defined in the RFC 2616. Media type of the schema document (e.g. application/json, application/xml). </br> - `Swagger` Schema use `application/vnd.ms-azure-apim.swagger.definitions+json` </br> - `WSDL` Schema use `application/vnd.ms-azure-apim.xsd+xml` </br> - `OpenApi` Schema use `application/vnd.oai.openapi.components+json` </br> - `WADL Schema` use `application/vnd.ms-azure-apim.wadl.grammars+xml`.- Returns:
- the next definition stage.
-
-