All notable changes to this project will be documented in this file using the Keep a CHANGELOG principles. This project adheres to Semantic Versioning.
- Updated minimum requirements for
php
to version7.3
- Added support of
phpunit/phunit
v9
- Updated minimum requirements for
php
to version7.2
- Updated
phpunit/phunit
to version8.2
- Use multi-byte functions (#34)
- Use more strict code (comparisons, assertions, type-hints) (#35)
- Migrate library to OpenAPI v3.0 format
- Updated
justinrainbow/json-schema
to version5.2
- Updated
phpunit/phunit
to version7.5
- Change type of statuses returned by getResponseCodes from string to int
- Add phpunit 6.0 fallback version
- Upgrade minimum of PHP version up to 7.1
- Upgrade minimum of PHPUnit version up to 7.0
- Upgrade minimum of PHP version up to 7.0
- Upgrade minimum of PHPUnit version up to 6.0
- Fix request parameters builder (#22).
- Fix detecting the incorrect URL in the
SchemaFactory
(#20).
- Add
Asserts::assertDefinitionSchema
to assert values against definition.
- Fixed normalizing headers with scalar value in HeadersConstraint.
- Implemented TestCase trait to add the assertions the PSR-7 objects match specification.
- Implemented
JsonSchemaConstraint
that asserts that the object matches the expected JSON Schema. - Implemented
HeadersConstraint
that asserts that the headers list matches schema. - Implemented
MethodsAllowedConstraint
that asserts that the HTTP method is allowed. - Implemented
ContentTypeConstraint
that asserts that the content-type is allowed. - Implemented
UriConstraint
that asserts that the URI. - Implemented the OpenAPI Specification representation.