The ability to reply to discussions is limited to PRO members. Want to join in the discussion? Click here to subscribe now.

Mock API Responses with Swagger

Mock API Responses with Swagger

2:51
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.
Watch this lesson now
Avatar
egghead.io

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.

Avatar
Tomás Francisco

Hi Will Button,

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

Thanks ;)

HEY, QUICK QUESTION!
Joel's Head
Why are we asking?