mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-02 15:51:48 +03:00
Fix api-platform routes import
This commit is contained in:
parent
0fada289f5
commit
ab99b4bcb9
@ -24,6 +24,11 @@ fos_rest:
|
||||
type: annotation
|
||||
|
||||
|
||||
api_platform:
|
||||
resource: .
|
||||
prefix: /api
|
||||
type: api_platform
|
||||
|
||||
# Controllers
|
||||
doc_area:
|
||||
path: /docs/{area}
|
||||
|
@ -81,8 +81,6 @@ class TestKernel extends Kernel
|
||||
*/
|
||||
protected function configureRoutes($routes)
|
||||
{
|
||||
$this->import($routes, '', '/api', 'api_platform');
|
||||
|
||||
$this->import($routes, __DIR__.'/Resources/routes.yaml', '/', 'yaml');
|
||||
|
||||
if (class_exists(SerializedName::class)) {
|
||||
|
@ -171,7 +171,7 @@ class WebTestCase extends BaseWebTestCase
|
||||
}
|
||||
|
||||
/**
|
||||
* BC symfony < 5.3
|
||||
* BC symfony < 5.3.
|
||||
*/
|
||||
protected static function getContainer(): ContainerInterface
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user