GetWorkspaceApiSchemaResult

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

API Schema Contract details.

Constructors

Link copied to clipboard
constructor(components: Any? = null, 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
val components: Any? = null

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

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 v1 schemas only, null otherwise.

Link copied to clipboard
val id: String

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

Link copied to clipboard

The name of the resource

Link copied to clipboard

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Link copied to clipboard
val value: String? = null

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