This commit is contained in:
1 parent
3246c1cb09
commit
ea1bb2e265
8 files changed
+2253
-1468
No files matched your search
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
namespace App;
|
||||
|
||||
use L5Swagger\CustomGeneratorInterface;
|
||||
use OpenApi\Generator as OpenApiGenerator;
|
||||
use Psr\Log\NullLogger;
|
||||
|
||||
class SwaggerGeneratorFactory implements CustomGeneratorInterface
|
||||
{
|
||||
public function create(): OpenApiGenerator
|
||||
{
|
||||
return new OpenApiGenerator(new NullLogger());
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user