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

Laravel Controller Generator #2

Open
djfurman opened this issue Jan 28, 2018 · 1 comment
Open

Laravel Controller Generator #2

djfurman opened this issue Jan 28, 2018 · 1 comment

Comments

@djfurman
Copy link

Are you aware of any packages that will scaffold something like a controller codeset to accept the request defined in a swagger.yml document and return the object described as an array?

As an API developer working on publishing the call/response contract so other dependencies can mock and work on their components; when an interface is accepted it would be really nice to be able to drive something built from that interface that to operational code.

@kevupton
Copy link
Owner

kevupton commented Feb 2, 2018

Hey,
try have a look at php's built in yaml functionality.
http://php.net/manual/en/function.yaml-parse-file.php

I think it may be what you need.

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