OutputMatchMetadata

sealed interface OutputMatchMetadata(source)

Machine-readable view of the status matcher backing an endpoint output.

Inheritors

Types

Link copied to clipboard
data class AnyOf(val statuses: List<Status>) : OutputMatchMetadata

Matches any status from a fixed set.

Link copied to clipboard
data class Described(val description: String) : OutputMatchMetadata

Matches statuses described by a free-form predicate.

Link copied to clipboard
data class Exact(val status: Status) : OutputMatchMetadata

Matches a single exact HTTP status.

Link copied to clipboard

Matches the fallback unmatched-status branch.