Unable to generate yaml when security definition exists
davehasagithub opened this issue · 0 comments
davehasagithub commented
Hi! As mentioned in #86, it's possible to output yaml by changing the config to specify 'docs_json' => 'api-docs.yaml'. But it appears if you also specify a value in the 'security' key, the yaml file is generated momentarily, then overwritten with only the security definition. I believe I've tracked it down to SecurityDefinitions where it would need to choose between the existing call to json_decode
or something like Yaml::parseFile($filename)
depending on the chosen format. Thanks!
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.