{"repo":"osteel/openapi-httpfoundation-testing","free":true,"listed":false,"github":"https://github.com/osteel/openapi-httpfoundation-testing","clone":"git clone https://github.com/osteel/openapi-httpfoundation-testing.git","description":"Validate your HttpFoundation requests and responses against OpenAPI (3+) definitions","language":"PHP","stars":120,"topics":["openapi","httpfoundation","symfony","laravel","http","validation","testing","api","php","openapi3"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"OpenAPI HttpFoundation Testing Validate HttpFoundation requests and responses against OpenAPI (3+) definitions. See this post for more details and this repository for an example use in a Laravel project. [!IMPORTANT] While you can safely use this package for your projects, as long as version 1.0 has not been released \"minor\" version patches can contain breaking changes. Make sure to check the release section before you upgrade. Why? OpenAPI is a specification intended to describe RESTful APIs in a way that can be understood by both humans and machines. By validating an API's requests and responses against the OpenAPI definition that describes it, we guarantee that the API is used correctly and behaves in accordance with the documentation we provide, thus making the OpenAPI definition the single source of truth. The HttpFoundation component is developed and maintained as part of the Symfony framework. It is used to handle HTTP requests and responses in projects such as Symfony, Laravel, Drupal, and many others. How does it work? This package is built on top of OpenAPI PSR-7 Message Validator, which validates PSR-7 messages against OpenAPI definitions. It converts HttpFoundation request and response objects to PSR-7 messages using Symfony's PSR-7 Bridge and Tobias Nyholm's PSR-7 implementation, before passing them on to OpenAPI PSR-7 Message Validator. Installation [!NOTE] This package supports PHP 8.0 and above. Via Composer: Usage [!NOTE] This package is mostly intended to be","default_branch":null,"files":null,"tree":[],"storefront":"/r/osteel","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/osteel/openapi-httpfoundation-testing/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}