All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Removed the
cebe/php-openapi
package and installeddevizzent/cebe-php-openapi
instead. The first one is deprecated today. This new package is compatible with OpenAPI spec v3.1.
v0.3.0 - 2023-01-24
- When an URI matches multiple API operations (example:
/api/path
and/api/{pattern}
) theResponseValidator
was looping over each and tried to validate theResponseInterface
body with the definition. Now theResponseValidator
will only validates against a single matching operation. If no operation matches, an error will be thrown. That last point wasn't caught before.
- Capture explicitely new exceptions from the league/openapi-psr7-validator library to ensure those errors will be useful for the end user (retrieving correct message, correct file…).
v0.2.0 - 2022-10-29
- Add more open version constraints to let install Raven in more projects. As a library, being too strict with dependencies is always bad.
v0.1.0 - 2022-10-06
- Introduces a new object in the
CHStudio\Raven\Http\Factory
namespace named:RequestUriParametersResolver
. It allows resolving URI parameters value using aValueResolverInterface
object.
v0.0.0 - 2022-10-04
Welcome Raven !
This is the first release for this library, now we are able to test OpenAPI docs !