We maintained a Newman Postman collection runner in our CI pipeline for three years to verify API endpoint status codes. As our OpenAPI schemas became the single source of truth, the Postman runner became an outdated duplicate.
# Replacing Postman CI steps with OpenAPI schema validation:
vendor/bin/openapi-validator validate --schema=docs/openapi.json
# And executing in-process PSR-7 contract tests:
vendor/bin/phpunit --testsuite=Contract
Validating API requests against OpenAPI schemas directly inside PHPUnit tests runs ten times faster than Newman, requires no external environment variables, and cannot fall out of sync with code.