WireMock CLI local service configuration
WireMock CLI and Runner local service config file format
| Type | object |
|---|---|
| File match |
wiremock.yaml
|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/wiremock-cli-local-service-configuration/latest.json |
| Source | https://static.wiremock.io/schemas/wiremock.yaml-schema.json |
Validate with Lintel
npx @lintel/lintel check
Configuration file for WireMock CLI local services (wiremock.yaml)
Properties
Map of service names to their configurations
Definitions
Configuration for a single local mock service
The type of mock API. Case insensitive.
Human-readable name for the service
Optional description of the service
WireMock Cloud mock API ID for syncing with cloud
Path to the directory containing stub mappings, files, and API specifications (relative to wiremock.yaml)
OpenAPI validation configuration
1 nested properties
OpenAPI validation mode
HTTPS configuration for the service
2 nested properties
Partial certificate configuration (can reference global certificate by alias)
Map of original request/response templates
OpenAPI validation configuration
OpenAPI validation mode
Full certificate configuration (PEM or keystore)
Partial certificate configuration (can reference global certificate by alias)
PEM-encoded certificate and private key
Path (absolute or relative to wiremock.yaml) to a file containing a private key and certificate in PEM encoding
PKCS12 or JKS keystore configuration
Path (absolute or relative to wiremock.yaml) to a PKCS12 or JKS keystore
Password to unlock the keystore
Optional alias to the certificate and private key to use if the keystore has more than one. If omitted, the first entry in the store will be used.
Reference to a certificate in the global keystore by alias
Alias to the certificate and private key in the global keystore
TCP port number