Archived topic โ some details may be out of date.
Mock servers built from saved collection examples are still supported. Postman now also has code-based mocks: JavaScript request handlers plus aconfig.yaml, stored as files in your Git repository, which you can run locally or deploy. Create one in the app, or use the Postman CLI to generate one from an OpenAPI spec, collection or dataset (postman mock generate) and run it (postman mock run). See About mocks and Create a mock.
Working with an AI coding agent? The Postman plugin can build and run mocks for you.
For current help, see the Postman docs, try the free Postman tools (no account needed), or join us on Discord.
Your question may already have an answer on the community forum. Please search for related topics, and then read through the guidelines before creating a new topic.
After adding one schema element to the spec definition, I am unable to validate Mock Server. PFB.

After I click on Click to validate it changes to โ validating โ Issues found โ Click to validate
Postman Version: 8.2.2
Can someone please help ![]()
