A mock API’s stubs can be exported in bulk via the admin API. This can be useful for backing up your API to source control, or cloning the contents of one API into another.Documentation Index
Fetch the complete documentation index at: https://docs.wiremock.io/llms.txt
Use this file to discover all available pages before exploring further.
Importing
To import any of the supported formats (Swagger, OpenAPI, WireMock Cloud WireMock JSON), execute aPOST request to the stub import URL e.g.:
Exporting in WireMock Cloud/WireMock JSON format
To export an API’s stubs, execute aGET request to the stub mappings admin URL e.g.: