-
-
Notifications
You must be signed in to change notification settings - Fork 934
Closed
Description
API Platform version(s) affected: 3.1.6
Description
Since this new version, it is impossible to acces my swagger documentation via /api
For instance for a simple entrypoint like this one
new Metadata\GetCollection(
routeName: 'api_get_user',
openapi: new Model\Operation(
responses: [
Response::HTTP_UNAUTHORIZED => new Model\Response(ResponseMessage::UNAUTHORIZED),
],
parameters: [
new Model\Parameter(
name: 'id',
in: 'query',
description: 'The User identifier',
schema: ['type' => 'object'],
style: 'deepObject',
explode: true,
),
new Model\Parameter(
name: 'name|lastname|username',
in: 'query',
description: 'The User denomination',
schema: ['type' => 'object'],
style: 'deepObject',
explode: true,
),
],
),
),
causes a 500 error
Additional Context
I'm working on MacOs, Php 8.1, Symfony 6.2.7, doctrine-bundle 2.9.
Everything is working fine on 3.1.5
twisted1919, olivier-drieux, Martin1982, sanhe, MaSpeng and 1 moreMaSpeng and mvanduijker
Metadata
Metadata
Assignees
Labels
No labels