Operation
A single mockable API operation, parsed from one paths.<path>.<method> entry.
See also
Properties
Response delay in milliseconds for this operation specifically, from the operation-level x-devview.delayMs extension. Overrides ApiSpec.delayMs when present.
Probability (0.0–1.0) that an otherwise-mocked request to this operation independently fails instead, from the operation-level x-devview.failureRate extension. null (the default) means every request behaves normally. Unlike delayMs, this has no spec-wide default on ApiSpec — "some percentage of everything fails" is a much blunter tool than "this specific flaky endpoint fails sometimes".
HTTP method (GET, POST, PUT, DELETE, PATCH, etc.). See HttpMethod.
Display name, taken from the operation's summary, falling back to operationId when absent.
The OpenAPI operationId — required by the parser (a spec with a missing operationId fails to load with a clear error, since every DevView identifier depends on it). Stable across parses as long as the spec author doesn't rename it.
Required query-parameter values for this operation to match an incoming request, or null if this operation has none. Sourced from parameters entries with in: query that declare a literal example value — see com.worldline.devview.networkmock.core.openapi.ParameterObject.
Narrow request-body match constraints (required fields and/or a discriminator value), or null if this operation declares no requestBody, its schema yields nothing to check, or the schema simply isn't declared — an operation with null here matches any request body, mirroring how null queryParameters matches any query string. Exists to disambiguate operations that would otherwise collide on path, method, and query alone (see RequestBodyMatch).
Display-only labels from the operation's OpenAPI tags array, or an empty list if none are declared. Like version, this has no effect on request matching — it drives the NetworkMock UI's tag filter chips and the "Tag" sort option only (see devview-networkmock's NetworkMockScreen).
Display-only version tag extracted from a /v{n}/ segment in path (e.g. "/api/v2/x" → "v2"), or null if path has no such segment. This is purely a UI label — request matching is unaffected: /api/v1/x and /api/v2/x remain two distinct operations matched only by path, method, and query params (see com.worldline.devview.networkmock.core.repository.RequestMatcher). The pattern is not currently configurable; non-standard (header- or query-versioned) APIs simply get null here.