Skip to content
This repository was archived by the owner on Sep 14, 2022. It is now read-only.
This repository was archived by the owner on Sep 14, 2022. It is now read-only.

Documentation for helper directory #553

@sauravpandit

Description

@sauravpandit

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions