UNPKG

@apistudio/apim-cli

Version:

CLI for API Management Products

18 lines (17 loc) 428 B
kind: MockEndpoint apiVersion: api.webmethods.io/beta metadata: name: mock_endpoint description: This is the mocking file for Pet store API version: 1.0 namespace: sample tags: - swagger - petstore - sample - mock spec: config: - condition: ($request.path equals v2/pet and $request.method equals GET and $request.query.<key1> equals 'test') response: $ref: sample:api_response:2.0