Empty SecurityRequirement in YAML file #46
Labels
bug
Something isn't working
needs investigation
Work is needed to figure out the root cause of the problem.
Milestone
When trying to write a Security Requirement object to a YAML file:
$openapi->security = [new SecurityRequirement(['Bearer' => []])];
The result is:
When expected:
When writing to a JSON file, everything is fine:
The text was updated successfully, but these errors were encountered: