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
phpto version7.3
- Added support of
phpunit/phunitv9
- Updated minimum requirements for
phpto version7.2 - Updated
phpunit/phunitto 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-schemato version5.2 - Updated
phpunit/phunitto 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::assertDefinitionSchemato 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
JsonSchemaConstraintthat asserts that the object matches the expected JSON Schema. - Implemented
HeadersConstraintthat asserts that the headers list matches schema. - Implemented
MethodsAllowedConstraintthat asserts that the HTTP method is allowed. - Implemented
ContentTypeConstraintthat asserts that the content-type is allowed. - Implemented
UriConstraintthat asserts that the URI. - Implemented the OpenAPI Specification representation.