Disabling cache throw error
andrey-ognermedia opened this issue · 0 comments
andrey-ognermedia commented
If cache disable get error:
yii2mod/yii2-swagger/OpenAPIRenderer.php:75
return $this->cache->getOrSet($this->cacheKey, function () {
return \Swagger\scan($this->scanDir, $this->scanOptions);
}, 360);
You need to check if $this->cache
is null.