-
Notifications
You must be signed in to change notification settings - Fork 96
Closed
Labels
bugSomething isn't workingSomething isn't workingneeds investigationWork is needed to figure out the root cause of the problem.Work is needed to figure out the root cause of the problem.
Milestone
Description
When trying to write a Security Requirement object to a YAML file:
$openapi->security = [new SecurityRequirement(['Bearer' => []])];
The result is:
security:
-
Bearer: { }
When expected:
security:
-
Bearer: []
When writing to a JSON file, everything is fine:
"security": [
{
"Bearer": []
}
]
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingneeds investigationWork is needed to figure out the root cause of the problem.Work is needed to figure out the root cause of the problem.