I suggest you ...

Mockable should use response examples in Swagger imports

Right now when I import a Swagger definition, the response body in Mockable.io always gets set to {"msg": "Hello World!"} regardless of what I define as the response example in Swagger. Mockable.io should be able to extract that information and include it in that specific request.

Here's an example of a path with examples:
paths:
/api/sessions:
post:
produces:
- "application/json"
responses:
"200":
examples:
application/json: { "id": 38 }

14 votes
Vote
Sign in
(thinking…)
Password icon
Signed in as (Sign out)
You have left! (?) (thinking…)
Wayland shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

0 comments

Sign in
(thinking…)
Password icon
Signed in as (Sign out)
Submitting...

Feedback and Knowledge Base