-
-
Notifications
You must be signed in to change notification settings - Fork 971
Closed
Description
FW: symfony 4.2
When trying to create an empty object the api:swagger:export
transform empty objects into empty arrays.
I need that a specific resource doesn't use the swagger api_keys, instead, I want to use nothing as security.
Yaml:
...
consumes:
- application/json
produces:
- application/json
security: [ { } ]
Them I run ./bin/console api:swagger:export
Actual:
"security": [
[]
],
Expected:
"security": [
{
}
],
Thanks.
Metadata
Metadata
Assignees
Labels
No labels