Skip to content

Releases: zircote/swagger-php

2.0.11

16 Aug 08:36
Compare
Choose a tag to compare
  • Implemented Swagger->ref(). $swagger->ref('#/info/contact') === $swagger->info->contact
  • Added validation of internal refs.
  • Misc fixes & improvements #357, #399, #402, #407, #423, #424
  • Misc improvements to the documentation.

2.0.10

12 May 13:32
Compare
Choose a tag to compare
  • Fix errors when parsing php7 anonymous class #380, #390
  • Added support for linked files and directories #393
  • Added support for $ref in deserialize() #369
  • Misc documentation tweaks.

2.0.9

22 Feb 23:30
Compare
Choose a tag to compare
  • Added support for PHP 7.1 and dropped support for PHP 5.5 and below
  • Added composer test script
  • Added support for custom DocParser->setImports() #360

2.0.8

01 Dec 09:18
Compare
Choose a tag to compare
  • Dynamic Definitions / partial support #301
  • By default only scan *.php files #350
  • Removed silence operator @, improves compatiblity custom errorhandlers #331
  • Additional datetime classes & interfaces #338
  • Fixed case of UNDEFINED constants namespaces, improves hhvm compatibility #319
  • Misc improvements to the docs

2.0.7

01 Dec 09:17
Compare
Choose a tag to compare
  • Beter validation of type="file" #305
  • Augment Operations summary and description based on the comment. #293
  • Bugfixes #300
  • Add support for xml (and externalDocs and properties) inside a @swg\Items. #279
  • Nested properties are no longer injected into the Definition #297
  • Fixed nesting issue with verbose property notation #297

2.0.6

13 Feb 15:40
Compare
Choose a tag to compare

Release 2.0.6

2.0.5

01 Dec 09:16
Compare
Choose a tag to compare
  • Removed JSON-Schema properties that are not supported in swagger. #273
  • Added ordering filenames to guarantee a consistent output #263

2.0.4

01 Dec 09:16
Compare
Choose a tag to compare
  • Fixed minor regression #254
  • Removed format restrictions from the remaining annotations #253

2.0.3

01 Dec 09:15
Compare
Choose a tag to compare
  • Removed format restrictions #253
  • Fixed a bug with inherited properties #250

2.0.2

01 Dec 09:15
Compare
Choose a tag to compare
  • Added support for @SWG\Head & @SWG\Options for documenting the HEAD and OPTIONS responses
  • Removed restrictions in @SWG\Items, allow @SWG\Property and other @SWG\Schema options.