Example repo for blog post: https://lessthan12ms.com/openapi-with-php-documenting-and-testing-api-automatically/
THis simple code shows how we can use OpenAPI specification for both:
- documentation generation
- test our API implementation
Thus, OpenAPI becomes the very center of developer experience, a point of truth.