Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to generate yaml when security definition exists #91

Closed
davehasagithub opened this issue Jul 19, 2020 · 0 comments
Closed

Unable to generate yaml when security definition exists #91

davehasagithub opened this issue Jul 19, 2020 · 0 comments

Comments

@davehasagithub
Copy link

davehasagithub commented Jul 19, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants