Releases: cebe/php-openapi
Version 1.3.2
- #47 Fixed crash when referencing a non-spec object or array
Version 1.3.1
- #41 Fixed an issue with loading references that point to a reference in another file.
Version 1.3.0
-
#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.
Version 1.2.1
Version 1.2.0
- #17 Added support for
$ref
in Path Item Objects, following the clarification of semantics. - #14 Improved loading nested references. References in referenced files can now be loaded even if the base type of the referenced file is unknown.
- Updated docs to consistently use the term API Description instead of API Specification.
- #28 Allow creating the object structure by passing prepared Specification Objects instead or arrays (thanks, @SilverFire)
Version 1.1.0
This release brings the following changes:
- #30 Added separate classes to implement JSON Reference and JSON pointer
- #30 Improve error handling and document navigation by providing each object with context information.
Context information contains the base document and the JSON pointer to the objects position in the document.
This can be used to navigate to parent and sibling elements easily. Such navigation was not possible before.
It also allows for more convenient error reporting as the errors are annotated with their position in the document. - #29 Fixed handling of recursive structures in Schema definitions.
- correct PHPDoc for properties
@property-read
was used even though properties are writeable now.
Version 1.0.1
This release brings the following changes:
- #24 Added
array
type to the list of constants inType
class (thanks, @scaytrase) - #22 Fixed normalisation of URIs on windows (thanks, @scaytrase)
- #27 Improved overall Windows support and added tests for Windows
Version 1.0.0 (this thing should be stable now!)
OpenAPI v3 got a JSON Schema for validating OpenAPI 3 documents (OAI/OpenAPI-Specification#1270 and OAI/OpenAPI-Specification#1897).
This release adds a CLI tool for validating OpenAPI 3 documents against the JSON schema.
Other improvements:
0.9.3-beta
0.9.2-beta
- 4018163 fix support for references in Responses object