Skip to content

Releases: cebe/php-openapi

Version 1.3.2

04 Dec 11:22
0158fec
Compare
Choose a tag to compare
  • #47 Fixed crash when referencing a non-spec object or array

Version 1.3.1

29 Oct 13:55
1316f57
Compare
Choose a tag to compare
  • #41 Fixed an issue with loading references that point to a reference in another file.

Version 1.3.0

25 Oct 12:25
ddfcbe0
Compare
Choose a tag to compare
  • #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

24 Oct 15:14
aed871a
Compare
Choose a tag to compare
  • #33 Ensure semantics of empty array and null are correctly presented for security objects.
  • #37 Fixes the problem that undefined properties did throw errors when they are accessed, now their default values are returned.
  • Improved error messages when reading or writing files fails.

Version 1.2.0

28 Jun 13:56
e316519
Compare
Choose a tag to compare

Version 1.1.0

21 Jun 15:46
39b50b6
Compare
Choose a tag to compare

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

20 May 15:17
3867754
Compare
Choose a tag to compare

This release brings the following changes:

  • #24 Added array type to the list of constants in Type 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!)

19 Apr 16:02
e86cff4
Compare
Choose a tag to compare

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.

Bildschirmfoto von »2019-04-19 15-46-13«

Other improvements:

  • #19 improves handling of default values
  • #18 enables modifying and writing the schema

0.9.3-beta

22 Mar 15:58
ddbd551
Compare
Choose a tag to compare
0.9.3-beta Pre-release
Pre-release
  • Bug 03c5e82 fix resolving references to a file without jsonPointer
  • Enh 2f1f736 allow settings context on references without resolving these (lazy resolving of references)

0.9.2-beta

03 Jan 13:25
4018163
Compare
Choose a tag to compare
0.9.2-beta Pre-release
Pre-release
  • 4018163 fix support for references in Responses object