Releases: gueff/myMVC_module_OpenApi
Releases · gueff/myMVC_module_OpenApi
1.1.0
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
added
- check the request content body type "json"
- try/catch blocks with error logs
\OpenApi\Model\Validate::request: parameter$sYamlFileAbsmay now be either a file or an URL; If URL, it will be cached locally according toiDeleteAfterMinutesCache 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