GetApiSchemaResult

data class GetApiSchemaResult(val contentType: String, val definitions: Any? = null, val id: String, val name: String, val type: String, val value: String? = null)

Schema Contract details.

Constructors

Link copied to clipboard
constructor(contentType: String, definitions: Any? = null, id: String, name: String, type: String, value: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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).
- Swagger Schema use application/vnd.ms-azure-apim.swagger.definitions+json
- WSDL Schema use application/vnd.ms-azure-apim.xsd+xml
- OpenApi Schema use application/vnd.oai.openapi.components+json
- WADL Schema use application/vnd.ms-azure-apim.wadl.grammars+xml.

Link copied to clipboard
val definitions: Any? = null

Types definitions. Used for Swagger/OpenAPI schemas only, null otherwise.

Link copied to clipboard
val id: String

Resource ID.

Link copied to clipboard

Resource name.

Link copied to clipboard

Resource type for API Management resource.

Link copied to clipboard
val value: String? = null

Json escaped string defining the document representing the Schema. Used for schemas other than Swagger/OpenAPI.