Skip to content

Releases: emvicy/OpenApi

3.4

Choose a tag to compare

@gueff gueff released this 18 Dec 14:12

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

Choose a tag to compare

@gueff gueff released this 25 Nov 11:52

fixed

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

3.3

3.3

Choose a tag to compare

@gueff gueff released this 04 Oct 09:59

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

3.2

Choose a tag to compare

@gueff gueff released this 03 Oct 13:23

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

3.1

Choose a tag to compare

@gueff gueff released this 02 Oct 14:58

added

3.0

3.0

Choose a tag to compare

@gueff gueff released this 02 Oct 14:52

changed

  • Initial Release
  • requires Emvicy 2.x

2.0.0

Choose a tag to compare

@gueff gueff released this 22 Jul 12:53

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

Choose a tag to compare

@gueff gueff released this 11 Mar 09:47

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