Mock API Responses with Swagger

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
Tomás Francisco
~ 8 years ago

Hi Will Button,

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

Thanks ;)

Will Button
Will Button(instructor)
~ 8 years ago

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