1.0.18 • Published 2 years ago
postex v1.0.18
Running the command line tool to generate Express rest APIs from Postman Exported JSON
./node_modules/.bin/px "path/to/postman/json/file.json"
Available options
./node_modules/.bin/px options
-h --help Get help for options of command line
-f (Optional) Force overwrite any existing rest APIs
-ts Use typescript to write APIs, Plain javascript will be used by default
-t Target directory where rest API files will be written. Default is ./src/Rest/ directory
-d (Optional) Postman folders to generate APIs from. By default, all rest APIs in the specification will be generated.