Download OpenAPI specification:Download
[- {
- "id": "51c50050-ec27-4dae-a583-a32ca71a1dd5",
- "service": "Gripmock",
- "method": "SayHello",
- "headers": {
- "equals": {
- "property1": "string",
- "property2": "string"
}, - "contains": {
- "property1": "string",
- "property2": "string"
}, - "matches": {
- "property1": "string",
- "property2": "string"
}
}, - "input": {
- "ignoreArrayOrder": false,
- "equals": { },
- "contains": { },
- "matches": { }
}, - "output": {
- "data": { },
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "error": "Message not found",
- "code": 3
}
}
]
[- {
- "id": "51c50050-ec27-4dae-a583-a32ca71a1dd5",
- "service": "Gripmock",
- "method": "SayHello",
- "headers": {
- "equals": {
- "property1": "string",
- "property2": "string"
}, - "contains": {
- "property1": "string",
- "property2": "string"
}, - "matches": {
- "property1": "string",
- "property2": "string"
}
}, - "input": {
- "ignoreArrayOrder": false,
- "equals": { },
- "contains": { },
- "matches": { }
}, - "output": {
- "data": { },
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "error": "Message not found",
- "code": 3
}
}
]
[- {
- "id": "51c50050-ec27-4dae-a583-a32ca71a1dd5",
- "service": "Gripmock",
- "method": "SayHello",
- "headers": {
- "equals": {
- "property1": "string",
- "property2": "string"
}, - "contains": {
- "property1": "string",
- "property2": "string"
}, - "matches": {
- "property1": "string",
- "property2": "string"
}
}, - "input": {
- "ignoreArrayOrder": false,
- "equals": { },
- "contains": { },
- "matches": { }
}, - "output": {
- "data": { },
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "error": "Message not found",
- "code": 3
}
}
]
Add a new stub to the store
Create a new pet in the store
id | string <uuid> (ID) |
service required | string |
method required | string |
object (StubHeaders) | |
required | object (StubInput) |
required | object (StubOutput) |
[ ]
[ ]
Searches for Stub by ID
uuid required | string <uuid> (ID) Example: 51c50050-ec27-4dae-a583-a32ca71a1dd5 ID of stub |
{- "id": "51c50050-ec27-4dae-a583-a32ca71a1dd5",
- "service": "Gripmock",
- "method": "SayHello",
- "headers": {
- "equals": {
- "property1": "string",
- "property2": "string"
}, - "contains": {
- "property1": "string",
- "property2": "string"
}, - "matches": {
- "property1": "string",
- "property2": "string"
}
}, - "input": {
- "ignoreArrayOrder": false,
- "equals": { },
- "contains": { },
- "matches": { }
}, - "output": {
- "data": { },
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "error": "Message not found",
- "code": 3
}
}
Performs a search for a stub by the given conditions
Description of filtering
id | string <uuid> (ID) |
service required | string |
method required | string |
object | |
required | object |
{- "id": "51c50050-ec27-4dae-a583-a32ca71a1dd5",
- "service": "Gripmock",
- "method": "SayHello",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "data": { }
}
{- "headers": {
- "property1": "string",
- "property2": "string"
}, - "data": { },
- "error": "Message not found",
- "code": 3
}