ExtractedResponseExample

data class ExtractedResponseExample(val body: Any?, val mediaType: String?)

Result of expected response extraction with selected media type.

Constructors

Link copied to clipboard
constructor(body: Any?, mediaType: String?)

Properties

Link copied to clipboard
val body: Any?

extracted response body example or null when unavailable

Link copied to clipboard

negotiated response media type, or null when the response declares no content. A non-null mediaType with a null body means content was declared but nothing extractable (no explicit example and no generatable schema body).