Representation Contract Response
data class RepresentationContractResponse(val contentType: String, val examples: Map<String, ParameterExampleContractResponse>? = null, val formParameters: List<ParameterContractResponse>? = null, val schemaId: String? = null, val typeName: String? = null)
Operation request/response representation details.
Constructors
Link copied to clipboard
constructor(contentType: String, examples: Map<String, ParameterExampleContractResponse>? = null, formParameters: List<ParameterContractResponse>? = null, schemaId: String? = null, typeName: String? = null)
Properties
Link copied to clipboard
Specifies a registered or custom content type for this representation, e.g. application/xml.
Link copied to clipboard
Exampled defined for the representation.
Link copied to clipboard
Collection of form parameters. Required if 'contentType' value is either 'application/x-www-form-urlencoded' or 'multipart/form-data'..