mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-02 23:59:26 +03:00
Fix styleci
This commit is contained in:
parent
46ef005787
commit
2b387e80f2
@ -17,7 +17,6 @@ use Psr\Container\ContainerInterface;
|
|||||||
use Symfony\Component\HttpFoundation\Request;
|
use Symfony\Component\HttpFoundation\Request;
|
||||||
use Symfony\Component\HttpFoundation\Response;
|
use Symfony\Component\HttpFoundation\Response;
|
||||||
use Symfony\Component\HttpKernel\Exception\BadRequestHttpException;
|
use Symfony\Component\HttpKernel\Exception\BadRequestHttpException;
|
||||||
use Symfony\Component\Yaml\Yaml;
|
|
||||||
|
|
||||||
final class YamlDocumentationController
|
final class YamlDocumentationController
|
||||||
{
|
{
|
||||||
@ -42,7 +41,7 @@ final class YamlDocumentationController
|
|||||||
}
|
}
|
||||||
|
|
||||||
return new Response($spec->toYaml(), 200, [
|
return new Response($spec->toYaml(), 200, [
|
||||||
'Content-Type' => 'text/x-yaml'
|
'Content-Type' => 'text/x-yaml',
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -13,7 +13,6 @@ namespace Nelmio\ApiDocBundle\Tests\Functional;
|
|||||||
|
|
||||||
use OpenApi\Annotations\Server;
|
use OpenApi\Annotations\Server;
|
||||||
use Symfony\Bundle\FrameworkBundle\KernelBrowser;
|
use Symfony\Bundle\FrameworkBundle\KernelBrowser;
|
||||||
use Symfony\Component\Yaml\Yaml;
|
|
||||||
|
|
||||||
class SwaggerUiTest extends WebTestCase
|
class SwaggerUiTest extends WebTestCase
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user