Releases: byjg/php-swagger-test
Releases · byjg/php-swagger-test
Release 4.9.2
Release 4.9.1
What's Changed
- Remove deprecated var usage by @vitormattos in #77
- Fetch schema from content by @Fantom409 in #78
- README.md and minor adjustments by @byjg in #75
New Contributors
- @Fantom409 made their first contribution in #78
Full Changelog: 4.9.0...4.9.1
Release 4.9.0
What's Changed
- Fixed some broken english by @byjg in #70
- Make compatible with php8 by @vitormattos in #65
- Fix mach string type by @vitormattos in #66
- Bump Major Components Changes by @byjg in #74
Full Changelog: 3.1.4...4.9.0
Release 3.1.4
Follow the OpenAPI specification and allow regex without an initial and final slash (/
).
PR #71
Release 3.1.3
Use Webrequest component compatible with PHP 5.6 --> 8.0
Release 3.1.2
Enable allOf
work with references PR #63
Release 3.1.1
Added the following specifications:
- additionalProperties
- allOf
- oneOf
- pattern matching
Release 3.1.0
Some Refactory in the code:
- Using PSR-7 implementation in the ApiRequester
- Remove URI (dependency from WebRequest)
- Code clean up.
- Change the HttpClient to support Mock HTTP
- Mock example.
- ApiRequester now supports any PSR7 RequestInterface implementation by using the method withPsr7Request()
- Support to parameter in formData (for upload files)
Release 3.0.0
This is a refactory of PHP Swagger to split in two different classes the Swagger and OpenApi classes.
The main changes are:
- Separation of the OpenApi 3.0 code from Swagger 2.0 code;
- Renamed namespace from \ByJG\Swagger to \ByJG\ApiTools
- Added a Factory to Schema in order to detect automatically what specification is.
- Added the nullable to OpenApi specification
- removed setUp() from ApiTestCase class to make it compatible with all PHPUnit versions. issue #44
- Optional HTTP transport make it possible mock the HTTP Requests #41
- You can create a Swagger/OpenApi instance from an array. It make possible you use external YAML parser #43
- Some small issues #42
- Some code cleanup.
This is a break change feature, so it is necessary bump the major version.
Thank you to all contributors to this release :)
Release 2.0.1
Added server variables (OAS3 specification). Issue #31 .