OperationKey

@Serializable
data class OperationKey(val specId: String, val operationId: String)

A stable, value-type identifier for the pair (specId, operationId).

Used everywhere these two identifiers travel together — as a map key, as a lookup token, and as the carrier inside MockMatch and OperationDescriptor.

See also

Constructors

Link copied to clipboard
constructor(specId: String, operationId: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The canonical "{specId}-{operationId}" string used as a DataStore preference key suffix and as the key in com.worldline.devview.networkmock.core.model.NetworkMockState.operationStates.

Link copied to clipboard

The Operation.operationId (e.g. "getUser")

Link copied to clipboard

The ApiSpec.id (e.g. "sample-api")