MockConfiguration

@Serializable
data class MockConfiguration(val specs: List<ApiSpec>)

Root configuration for network mocking, parsed from one or more OpenAPI 3.x documents.

Each configured spec file (JSON or YAML) becomes one ApiSpec — see com.worldline.devview.networkmock.core.repository.MockConfigRepository for how these are loaded, and com.worldline.devview.networkmock.NetworkMock (in devview-networkmock) for how integrators register spec files.

See also

Constructors

Link copied to clipboard
constructor(specs: List<ApiSpec>)

Properties

Link copied to clipboard

The parsed API specs, one per configured spec file