Compatibility:
jsonrainbow/json-schema version 5 and 6 by @tacman (https://github.com/cebe/php-openapi/pull/227)Features and Fixes:
getRawSpecData() by @SOHELAHMED7 (https://github.com/cebe/php-openapi/pull/228)Doucmentation:
Full Changelog: https://github.com/cebe/php-openapi/compare/1.7.0...1.8.0
Improvements:
json_encode() in Writer::writeToJson(), thanks @ValikoDorodnovBugfixes:
x-*) were not present in the merge result (thanks @marcelthole)Schema::$nullable when no type is specified. nullable will be false by default when a type is specified but null when no type is specified.exclusiveMinimum and exclusiveMaximum only return false when minimum or maximum is specified, defaults to null otherwise.Dependencies:
Other changes:
Bugfixes:
Documentation:
../ (thanks @il-m-yamagishi)readFromJsonFile() (thanks @yorickgirard)Improvements:
Bugfixes:
exclusiveMinimum and exclusiveMaximum to boolean (thanks @canvural)Other changes:
3.0 to 3.4 (thanks @marcelthole)symfony/yaml:^5.0bin/php-openapi validate (@mfrischbutter)--silent parameter to command-line-tool (@mfrischbutter)#35 Symfony YAML is not limited to version 4 anymore, you can now install php-openapi in your symfony 3 project.
#32 References failed to resolve in directory structures when referencing other files from file in subdirectories. These references where resolved in the context of the main OpenAPI file instead of the sub-directories.
Before this change it was necessary to manually call resolveReferences() after loading a file.
Now a single call will resolve all references regardless how many levels deep.
$ref in Path Item Objects, following the clarification of semantics.This release brings the following changes:
[@property-read](https://github.com/property-read) was used even though properties are writeable now.This release brings the following changes:
array type to the list of constants in Type class (thanks, @scaytrase)OpenAPI v3 got a JSON Schema for validating OpenAPI 3 documents (https://github.com/OAI/OpenAPI-Specification/pull/1270 and https://github.com/OAI/OpenAPI-Specification/pull/1897).
This release adds a CLI tool for validating OpenAPI 3 documents against the JSON schema.

Other improvements:
PathItem::getOperations() for easier access to operationsFirst release. Ready for testing. This implements full coverage of the OpenAPI 3 Spec. The following functionality is available:
Please try it on your OpenAPI spec files and report any issues you see!
How can I help you explore Laravel packages today?