PHP code example of ferror / openapi-coverage
1. Go to this page and download the library: Download ferror/openapi-coverage library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
ferror / openapi-coverage example snippets
// bundles.php
return [
Ferror\OpenapiCoverage\Symfony\Bundle::class => ['dev' => true, 'test' => true],
];
bash
php bin/console ferror:check-openapi-coverage
bash
php bin/console ferror:check-openapi-coverage --threshold 0.70