You already versioned a Deskly collection and OpenAPI spec as a producer. This module flips you to the consumer hat: add a coded mock under postman/mocks/ as a lightweight stand-in for Deskly, run it locally and in CI with the Postman CLI, and keep shipping without npm start for the Express app.
Before you start
Complete Native Git in Postman and OpenAPI Specs with Native Git first. This module reuses the same public deskly-api fork, [Your name] - Native Git workspace, connected local folder, Deskly API collection, and (ideally) your OpenAPI spec on a feature/ branch.
When you reopen Postman, Local View may show main in the bottom left โ checkout your feature/ branch before the collection appears in the sidebar (Part 2 Step 1 walks you through this).
You'll also need:
- Postman desktop app โ Native Git, Local View, and local mocks are desktop-only.
- Git and your existing
deskly-apiclone connected to the workspace. - A public GitHub fork with your collection already pushed on a
feature/branch. - The Postman CLI for Part 3 (
postman mock run) โ see the Postman CLI docs.