Skip to content

Releases: emvicy/OpenApi

3.4

18 Dec 14:12

Choose a tag to compare

changed

  • \OpenApi\Model\Route::autoCreateFromOpenApiFile: Evaluation of the operationId passed by openapi.yaml; if a custom Class::method (feature ::) is specified, it is adopted 1:1.

3.3.1

25 Nov 11:52

Choose a tag to compare

fixed

  • PHP 8.5 Upward Compatibility: "PHP Deprecated: Non-canonical cast (boolean) is deprecated, use the (bool) cast instead in […]"

3.3

04 Oct 09:59

Choose a tag to compare

3.3

added

  • \OpenApi\Model\Generate::DTClassesOnOpenapi3yaml: check for availability of yaml source
  • etc/config/_mvc.php: flush cache first

changed

  • CLI command openapi:datatype is expecting yaml locations declared in an array; See README.md

fixed

  • Model/Generate.php:140 ff.: $aSchema[$sNameOfRef] may not be set; Fix: check on existance of value

3.2

03 Oct 13:23

Choose a tag to compare

3.2

added

  • php emvicy openapi:datatype: command for Emvicy console; "Auto-creating local DataType Classes from within Yaml Files or URLs"
  • \OpenApi\Model\Generate::DTClassesOnOpenapi3yaml: optional debug outputs while generating local DT Classes (parameter bDebug: true|false)

changed

  • replace Emvicy's deprecated get() method by php native "Null Coalescing Operator"
    • Model/Route.php
    • Model/PsrRequest.php

3.1

02 Oct 14:58

Choose a tag to compare

3.1

added

3.0

02 Oct 14:52

Choose a tag to compare

3.0

changed

  • Initial Release
  • requires Emvicy 2.x

2.0.0

22 Jul 12:53

Choose a tag to compare

changed

  • requires Emvicy 1.x >= 1.13
  • \OpenApi\Model\PsrRequest::getHeader: return (array) get($this->getHeaders()[$sHeaderName], array()); => return (array) Request::getHeaderValueOnKey($sHeaderName);

1.0.0

11 Mar 09:47

Choose a tag to compare

changed

  • \OpenApi\Model\Route::autoCreateFromOpenApiFile: handling multiple RequestMethods (e.g. put|patch) for same Route
  • \OpenApi\Model\PsrRequest::getParsedBody: json_decode only if php input is string

fixed

  • \OpenApi\Model\Generate: openapi type number not converted into float

@gueff