# Swagger question

**URL:** <https://community.dreamfactory.com/t/swagger-question/4273>\
**Category:** REST API\
**Created:** [February 4, 2018, 5:54pm UTC](https://community.dreamfactory.com/t/swagger-question/4273 "2018-02-04T17:54:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![David\_Kachlon](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/david_kachlon/32/1119_2.png) [@David\_Kachlon](https://community.dreamfactory.com/u/David_Kachlon)\
**Post date:** [February 4, 2018, 5:54pm UTC](https://community.dreamfactory.com/t/swagger-question/4273/1 "2018-02-04T17:54:32Z")

</div>

'm trying to create my own REST API with Swagger, Postman, and DreamFactory - I create a JSONv1 file from POSTMAN and exported it to Swagger as a YAML - Then from swagger, I created a package. I tried using the index.js file as the config in dreamfactory, but there are no functions in it that actually perform operations on the data - there are 4 subdirectory .js files in my package. I’m not sure waht they do, I beleive they are what I’m looking for, some say authorize etc… My question is this - is there somesort of node.js script generator that will actually perform the operations in the script? or do i need to create my own fileOr, if someone can explain to me how to ouse these .js in the subdirectories with dreamfactory
