Class RecordingFormatVersion
- Namespace
- Kuestenlogik.Bowire.Mock.Loading
- Assembly
- Kuestenlogik.Bowire.Mock.dll
Recording-format version constants and a compatibility check for the mock server. Bumped when later phases add fields the mock actually depends on at load time.
public static class RecordingFormatVersion
- Inheritance
-
RecordingFormatVersion
- Inherited Members
Fields
Current
The highest version understood by this mock build.
public const int Current = 2
Field Value
V1
Phase-1a format — REST unary (httpPath / httpVerb).
public const int V1 = 1
Field Value
V2
Phase-1b format — adds responseBinary for gRPC unary replay.
Steps without responseBinary still replay as v1 semantics, so
v2 recordings are a strict superset of v1.
public const int V2 = 2
Field Value
Methods
IsSupported(int?)
Returns true when the supplied version can be replayed by this
mock build, false when it's from the future (bump required) or
malformed.
public static bool IsSupported(int? version)
Parameters
versionint?