Skip to content

wiremock/library.wiremock.org-sources

WireMock API Templates Library

a

WireMock API Templates Lib Logo

The library.wiremock.org site provides a catalog of API Templates that can be used with both WireMock or WireMock Cloud. You can browse our library of mock API templates and examples, find the API that you need, and get a running mock in seconds - on your local machine or in the cloud.

Template definitions can be found in another repository: wiremock/api-template-library.

Using templates in WireMock

  1. Choose a template you need by using the categorization and search capabilities of the website.

  2. Click the Download WireMock JSON button to download the JSON file

  3. Use the JSON file to configure your WireMock instance (documentation)

Using templates in WireMock Cloud

For WireMock Cloud there is also the Run in WireMock Cloud button that allows you to quickly import the Mock API definition into your project.

License

The website repository and custom code there are licensed under Apache License Version 2.0. The artwork might be licensed differently, see the source code.

Templates are licensed separately under different open source licenses. See the metadata in wiremock/api-template-library or on the website to learn more about template licenses.

Contributing

See the Contributing Guide.