Type Alias: WiremockMappingSource
type WiremockMappingSource =
| WiremockFileSource
| {
json: | string
| WiremockStubMapping
| {
mappings: readonly WiremockStubMapping[];
};
};
Defined in: src/sources.ts:51
A file source, or inline JSON: a string, a stub or { mappings: [...] }.
Union Members
Type Literal
{
json: | string
| WiremockStubMapping
| {
mappings: readonly WiremockStubMapping[];
};
}
| Name | Type | Description | Defined in |
|---|---|---|---|
json | | string | WiremockStubMapping | { mappings: readonly WiremockStubMapping[]; } | A JSON string – copied verbatim – or an object, serialised. | src/sources.ts:55 |