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

Documentation for helper directory #553

Open
sauravpandit opened this issue Mar 31, 2018 · 1 comment
Open

Documentation for helper directory #553

sauravpandit opened this issue Mar 31, 2018 · 1 comment

Comments

@sauravpandit
Copy link

@sauravpandit sauravpandit commented Mar 31, 2018

I have seen folder named "helpers" inside api. I am not finding any document or example how to use helper. I had created one helper js "user-model.js" and I referring it as following in controller
var userDAO = require('../helpers/user-model.js');
I am looking for a way to include helper automatically in swagger.yaml. I want to put common functionality in helper and want to use it in project. I am not getting enough information how to use it.

@RobertoMachorro
Copy link

@RobertoMachorro RobertoMachorro commented Apr 26, 2019

I have seen folder named "helpers" inside api. I am not finding any document or example how to use helper. I had created one helper js "user-model.js" and I referring it as following in controller
var userDAO = require('../helpers/user-model.js');
I am looking for a way to include helper automatically in swagger.yaml. I want to put common functionality in helper and want to use it in project. I am not getting enough information how to use it.

I'm in the same situation. Hoping this project is still alive?

If it helps, since it is based of a127, this may apply:
apigee 127 docs Helper functions, I'm going to give it a shot.

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

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.