Skip to content

Releases: gueff/myMVC_module_OpenApi

1.1.0

17 Nov 11:31

Choose a tag to compare

added

  • \OpenApi\Model\Route::autoCreateFromOpenApiFile: auto-creating myMVC Routes from openapi file
  • doctypes

changed

  • modules/OpenApi/etc/config/OpenApi/composer.json: changed library versions to auto-patch level (.*)
  • Logs are fired to Events
  • variable names
  • "zircote/swagger-php": "4.7.10"
  • "hkarlstrom/openapi-reader": "0.5"
  • "hkarlstrom/openapi-validation-middleware": "0.5.2"

1.0.0

19 Jun 08:57

Choose a tag to compare

added

  • check the request content body type "json"
  • try/catch blocks with error logs
  • \OpenApi\Model\Validate::request: parameter $sYamlFileAbs may now be either a file or an URL; If URL, it will be cached locally according to iDeleteAfterMinutes Cache Settings or 1440 min if no Cache settings exists

changed

  • check the request content type if there is any content body
  • \OpenApi\Model\Validate::request: if $sYamlFileAbs is URL, its content is downloaded to cache as file

fixed

  • OpenApi/Model/Validate.php, Line: 118, Message: Call to a member function getContent() on null
  • \OpenApi\Model\Validate::request: if $sYamlSource is url its source is not properly saved to cache
  • \OpenApi\Model\Validate::request: if $sYamlFileAbs is url it fails