Mock API Responses with Swagger

InstructorWill Button

Share this video with your friends

Send Tweet

APIs created with Swagger have a built-in mock function, allowing you to mock responses from your API prior to writing the backend code to make it functional. In addition to learning how to enable this feature, I will show you how to write your own functions to enhance the mock responses returned when using the Swagger mock feature.

Tomás Francisco
~ 7 years ago

Hi Will Button,

What extension do you use to display pretty json like that in the browser?

Thanks ;)

Will Buttoninstructor
~ 7 years ago

It's the JSONViewer extension for Chrome: https://github.com/tulios/json-viewer