User Warning: $ref "#/components/responses/create" not found for @OA\Response() in \App\Controller\RuleController->create() in /var/www/app/src/Controller/RuleController.php
But according to swagger-php [examples](https://github.com/zircote/swagger-php/tree/master/Examples/using-refs) it should work.
What am I doing wrong?
PS:
Symfony 6.2
NelmioApiDocBundle 4.11
Hi! I'm trying to get behavior like in pure swagger-php (https://github.com/zircote/swagger-php/issues/788).
What I did:
namespace App\Openapi;
use OpenApi\Attributes as OA; use Symfony\Component\PropertyInfo\Type;
class OpenApiSpec {
}
[OA\Response(
)] class RuleResponse{}
[OA\Response(ref: '#/components/responses/create', response: 201]
User Warning: $ref "#/components/responses/create" not found for @OA\Response() in \App\Controller\RuleController->create() in /var/www/app/src/Controller/RuleController.php