Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

WireMock Stub Mappings API

Operations on stub mappings

WireMock Stub Mappings API is one of 6 APIs that WireMock publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 2 JSON Schema definitions.

Tagged areas include Stub Mappings. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and 2 JSON Schemas.

This API exposes 11 operations across 7 paths. It is described by OpenAPI 3.0.0, at version 2.35.0.

Requests are made against a single base URL, http://localhost:8080.

11 operations 7 paths 0 schemas 2 DELETE2 GET6 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.0
API Version
2.35.0
Base URL
http://localhost:8080
Resource Areas
1

Paths & Operations 11

Across 7 paths, the API surfaces 11 operations — 2 DELETE, 2 GET, 6 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

Stub Mappings 11

Operations on stub mappings

GET
/__admin/mappings
Get All Stub Mappings
2 params → 200
POST
/__admin/mappings
Create a New Stub Mapping
body → 201
DELETE
/__admin/mappings
Delete All Stub Mappings
→ 200
POST
/__admin/mappings/reset
Reset Stub Mappings
→ 200
POST
/__admin/mappings/save
Persist Stub Mappings
→ 200
POST
/__admin/mappings/import
Import Stub Mappings
→ 200
GET
/__admin/mappings/{stubMappingId}
Get Stub Mapping by ID
1 param → 404200
PUT
/__admin/mappings/{stubMappingId}
Update a Stub Mapping
1 param body → 404200
DELETE
/__admin/mappings/{stubMappingId}
Delete a Stub Mapping
1 param → 404200
POST
/__admin/mappings/find-by-metadata
Find stubs by matching on their metadata
body → 200
POST
/__admin/mappings/remove-by-metadata
Delete Stub Mappings Matching Metadata
body → 200

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

wiremock-stub-mappings-api-openapi.yml Raw ↑

Other APIs WireMock publishes across the network.

WireMock Near Misses API
WireMock Recordings API
WireMock Requests API
WireMock Scenarios API
WireMock System API