{"_id":"@b-pagis/ufonaut","_rev":"5-297fd5cbcad7f44fa6a3c816e5e72c70","name":"@b-pagis/ufonaut","dist-tags":{"latest":"1.0.3"},"versions":{"1.0.0":{"name":"@b-pagis/ufonaut","author":{"name":"b-pagis"},"license":"ISC","version":"1.0.0","description":"CLI for converting open api documentation to postman collection with additional options for integration testing","main":"lib/index.js","types":"lib/index.d.ts","engines":{"node":">=12.19","npm":">=6"},"bin":{"ufonaut":"bin/launcher"},"repository":{"type":"git","url":"git+https://github.com/b-pagis/ufonaut.git"},"bugs":{"url":"https://github.com/b-pagis/ufonaut/issues"},"homepage":"https://github.com/b-pagis/ufonaut#readme","keywords":["postman","integration","testing","cli","command-line","test","util","utility","helper","ufonaut","openapi","open-api","rest"],"scripts":{"run":"node lib/index.js","start":"npm run build && node lib/index.js","test":"jest --verbose","coverage":"jest --coverage","lint":"eslint . --ext .ts","build":"npm run clean:lib && tsc -p tsconfig.prod.json","clean:lib":"rm -rf ./lib","clean:all":"rm -rf ./node_modules ./package-lock.json ./lib","refresh":"npm run clean:all && npm i","pack":"npm run build && tar tvf $(npm pack)","prepare-release":"standard-version","release":"gh release create $(git describe --tags --abbrev=0) -F ./release-notes.md"},"devDependencies":{"@liftr/tscov":"^1.4.6","@types/figlet":"^1.2.0","@types/inquirer":"^6.5.0","@types/jest":"^26.0.3","@types/node":"^14.0.5","@types/postman-collection":"^3.5.3","@typescript-eslint/eslint-plugin":"^3.5.0","@typescript-eslint/parser":"^3.5.0","commitizen":"^4.2.0","cz-conventional-changelog":"^3.2.1","eslint":"^7.4.0","eslint-config-airbnb-base":"^14.2.0","eslint-config-prettier":"^6.11.0","eslint-plugin-import":"^2.22.0","jest":"^26.1.0","only":"0.0.2","standard-version":"^9.0.0","ts-jest":"^26.1.1","ts-node":"^8.10.1","typedoc":"^0.17.7","typescript":"^3.9.6"},"dependencies":{"axios":"^0.21.0","commander":"^6.0.0","figlet":"^1.4.0","inquirer":"^7.3.0","kleur":"^4.1.3","openapi-to-postmanv2":"^2.0.0","postman-collection":"3.5.5","tslib":"^2.0.0"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"standard-version":{"scripts":{"postchangelog":"sed -ri \"s/(const version = ')[^']*/\\1$(cat package.json | grep '\\\"version\\\"' | cut -d \":\" -f 2 | sed -e \"s/[\\\",\\, ]//g\")/\" src/index.ts"},"skip":{"commit":true}},"gitHead":"81bef9727472d99ad0edd6bb27002a5585ca4d2d","_id":"@b-pagis/ufonaut@1.0.0","_nodeVersion":"12.19.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-EOGzu5Xl0w9UOk+XIkJVaCL2sVVpK0aXBXTeB/cpoEfEv6DtfGgfEkxzMx/VBN9k7SimFDaEDJRzENvRw61CTQ==","shasum":"db8491fd6894366d175957d4d7e2db5500e082ad","tarball":"https://registry.npmjs.org/@b-pagis/ufonaut/-/ufonaut-1.0.0.tgz","fileCount":23,"unpackedSize":81712,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfturFCRA9TVsSAnZWagAAbJEQAKP5DrVKV+rdXAJHm+re\ni4Kwo9ngWcccG2SKQ4Gwr2Bx5WfMFw1e4ORVVA4voI/R+WEZgNVxJORGmdke\nv3/AVjknUC5gF/CYO0sIs4YJ5ctoKHVtif43jYhVuwPPLIFAyrWiP1ZhaTw5\nr9VDm7zvO9t8+EDbFmBMPADqlZDVD7GKV8iqnYUJHi8iBKLD0K0Wf+wgQGFS\nVf7i9UdPI+PJhzxlj7LHysjceQi4n6+zv4GfBrAKl0Jg25a1f/n2ogTW1+98\nV3QZBh/+IDOOaPd3luh23E6ZfalNAnF3PRubFz2E3mQ7AWGw/EXkK7F/XMhq\nJyXYb7gescnO6nUIZmlnmYaaSO8N4m0W9MiJBrljt12N951qPxSnIVDh0z4r\nnPMVGvgnPTU31zzyHGtL1+xKXyRG6kd+QjHN+Q1OefIH8Vw1mWO8r723A4jQ\nD7gnlsez3HJb2mp02AbkGWLLpZRKZPMwt5LgKwY64LQHMpnkrax6YX0O8BtN\n1r3AG1feDDhzoA/Fq2/WUTd+cAJTb90UTDHJioWDHfzs7u/ybHn8zr6sYi9k\nAJoHBUhp3gmPMD7LN+lxA7dpHyl9egoUvB8QTHKKPHoQ4CSoAetBzp2J+aUE\npJR9BT1zAZuCuJzoJo/5HMIkiVRBvpIr1PbnKv7RoqOmakQQlSPRAyU2l+62\ntpn3\r\n=wxHh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDLLmTjltS72rc5eSPN/7h0BQS1rC0ePop9QI08vSrEhQIhAKskZK4XdPLQXA6f8O2TNF9owFcebNm4bEonnz4/junJ"}]},"_npmUser":{"name":"b-pagis","email":"b-pagis@pm.me"},"directories":{},"maintainers":[{"name":"b-pagis","email":"b-pagis@pm.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ufonaut_1.0.0_1605823171345_0.32689983929030975"},"_hasShrinkwrap":false},"1.0.1":{"name":"@b-pagis/ufonaut","author":{"name":"b-pagis"},"license":"ISC","version":"1.0.1","description":"CLI for converting open api documentation to postman collection with additional options for integration testing","main":"lib/index.js","types":"lib/index.d.ts","engines":{"node":">=12.19","npm":">=6"},"bin":{"ufonaut":"bin/launcher"},"repository":{"type":"git","url":"git+https://github.com/b-pagis/ufonaut.git"},"bugs":{"url":"https://github.com/b-pagis/ufonaut/issues"},"homepage":"https://github.com/b-pagis/ufonaut#readme","keywords":["postman","integration","testing","cli","command-line","test","util","utility","helper","ufonaut","openapi","open-api","rest"],"scripts":{"run":"node lib/index.js","start":"npm run build && node lib/index.js","test":"jest --verbose","coverage":"jest --coverage","lint":"eslint . --ext .ts","build":"npm run clean:lib && tsc","build-prod":"npm run clean:lib && tsc -p tsconfig.prod.json","clean:lib":"rm -rf ./lib","clean:all":"rm -rf ./node_modules ./package-lock.json ./lib","refresh":"npm run clean:all && npm i","pack":"npm run build && tar tvf $(npm pack)","prepare-release":"standard-version","release":"gh release create $(git describe --tags --abbrev=0) -F ./release-notes.md"},"devDependencies":{"@types/figlet":"^1.5.1","@types/inquirer":"^7.3.1","@types/jest":"^26.0.23","@types/node":"^15.12.2","@types/postman-collection":"^3.5.3","@typescript-eslint/eslint-plugin":"^4.26.1","@typescript-eslint/parser":"^4.26.1","commitizen":"^4.2.4","cz-conventional-changelog":"^3.2.1","eslint":"^7.28.0","eslint-config-airbnb-base":"^14.2.1","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.23.4","jest":"^27.0.4","standard-version":"^9.3.0","ts-jest":"^27.0.3","ts-node":"^10.0.0","typescript":"^4.3.2"},"dependencies":{"axios":"^0.21.1","commander":"^7.2.0","figlet":"^1.4.0","inquirer":"^8.1.0","kleur":"^4.1.4","openapi-to-postmanv2":"^2.7.0","postman-collection":"^3.6.11","tslib":"^2.3.0"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"standard-version":{"scripts":{"postchangelog":"sed -ri \"s/(const version = ')[^']*/\\1$(cat package.json | grep '\\\"version\\\"' | cut -d \":\" -f 2 | sed -e \"s/[\\\",\\, ]//g\")/\" src/index.ts"},"skip":{"commit":true}},"gitHead":"a42f0a19c0e6259eeb4d6cc82ac013dcd23749a2","_id":"@b-pagis/ufonaut@1.0.1","_nodeVersion":"12.22.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-sKZ8+BQr9GGtW5hoEaYM5v/LS6XntKRSL6vcfcdElDZkAhqVnTLUU0BQkl1NfAt7v5Id3+roWBATXgD1qafDMQ==","shasum":"5f046d1dfe6486132b74f5c18955577db4ed4646","tarball":"https://registry.npmjs.org/@b-pagis/ufonaut/-/ufonaut-1.0.1.tgz","fileCount":5,"unpackedSize":23784,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgxml4CRA9TVsSAnZWagAAh3YP/j4qj6Yp6ETNO9+T/vhu\n30esyNXWaluj0Jc8AZwwewkQfG50gDM0FlZ5/CIcyeHqxRmWB6NOXd3A8kd1\ndAni2jMQ5fMF8Fh3g85brDqjsCVXqNZZVp/aB/pbh8OYrJxFVgyeefZv3/rq\nXhtQNPXjFhf1qgsiwlHSghdijgL9n+NiQPOTf/fuAmoaX+mF6Rq2N89evoB5\nfcfSyPPm2rfqzzO1feKzFir+M9Km97kopGIcjeCzJN5jtN/oNXj6Erc2Qaku\n++JA3Agcde9uhZTAVUTE3UoAwMu014L3X/Tpscu35hFLhZesgkTDLxyXdfNN\n7hfwFZ4jVKha34n1rTXovtKSdlUpJdCU4cI3uuWu/OftxbN+SAXEfM0I2u77\nls0auZib73PkIy7YJWwKnP8MmB+71kvwXPmTT8DVM6pfoF/wAUnX7nye61ED\nE9xVINJuYl9TznMDTZJlHChKMMtaOKGyM59XyEFPaI0YiSDl68M7c03bIUhG\nGU0JTqbjYeo+eQu6LHA6mCI364F2TKgwuM1vTEm/+w0Z5rTu0uvASuoeRVF7\nXzyon9t+Y7TyecdHV1U1khvbwUPIPmctUfOhnayLOR8iUuWawV8NOiSPPa7T\njLeCb0pz2WQNdxju9p/vCbQhuyXFbZ6CC+sjuZB32bN+FS5yVB2oF7tvbiiX\nKOYt\r\n=mOX7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC+ydU7QUMicljyw4lsEoHZ0aWTPIanAfH2PO8VtVvOCAiBBlJqzP4btjc2wc8iCRi9/9VL+Fc6a+lRRwYAsQTh5vw=="}]},"_npmUser":{"name":"b-pagis","email":"b-pagis@pm.me"},"directories":{},"maintainers":[{"name":"b-pagis","email":"b-pagis@pm.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ufonaut_1.0.1_1623615864221_0.9370089087924585"},"_hasShrinkwrap":false},"1.0.2":{"name":"@b-pagis/ufonaut","author":{"name":"b-pagis"},"license":"ISC","version":"1.0.2","description":"CLI for converting open api documentation to postman collection with additional options for integration testing","main":"lib/index.js","types":"lib/index.d.ts","engines":{"node":">=12.19","npm":">=6"},"bin":{"ufonaut":"bin/launcher"},"repository":{"type":"git","url":"git+https://github.com/b-pagis/ufonaut.git"},"bugs":{"url":"https://github.com/b-pagis/ufonaut/issues"},"homepage":"https://github.com/b-pagis/ufonaut#readme","keywords":["postman","integration","testing","cli","command-line","test","util","utility","helper","ufonaut","openapi","open-api","rest"],"scripts":{"run":"node lib/index.js","start":"npm run build && node lib/index.js","test":"jest --verbose","coverage":"jest --coverage","lint":"eslint . --ext .ts","build":"npm run clean:lib && tsc","build-prod":"npm run clean:lib && tsc -p tsconfig.prod.json","clean:lib":"rm -rf ./lib","clean:all":"rm -rf ./node_modules ./package-lock.json ./lib","refresh":"npm run clean:all && npm i","pack":"npm run build && tar tvf $(npm pack)","prepare-release":"standard-version","release":"gh release create $(git describe --tags --abbrev=0) -F ./release-notes.md -t $(git describe --tags --abbrev=0) -d"},"devDependencies":{"@types/figlet":"^1.5.1","@types/inquirer":"^7.3.1","@types/jest":"^26.0.23","@types/node":"^15.12.2","@types/postman-collection":"^3.5.3","@typescript-eslint/eslint-plugin":"^4.26.1","@typescript-eslint/parser":"^4.26.1","commitizen":"^4.2.4","cz-conventional-changelog":"^3.2.1","eslint":"^7.28.0","eslint-config-airbnb-base":"^14.2.1","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.23.4","jest":"^27.0.4","standard-version":"^9.3.0","ts-jest":"^27.0.3","ts-node":"^10.0.0","typescript":"^4.3.2"},"dependencies":{"axios":"^0.21.1","commander":"^7.2.0","figlet":"^1.4.0","inquirer":"^8.1.0","kleur":"^4.1.4","openapi-to-postmanv2":"^2.7.0","postman-collection":"^3.6.11","tslib":"^2.3.0"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"standard-version":{"scripts":{"postchangelog":"sed -ri \"s/(const version = ')[^']*/\\1$(cat package.json | grep '\\\"version\\\"' | cut -d \":\" -f 2 | sed -e \"s/[\\\",\\, ]//g\")/\" src/index.ts"},"skip":{"commit":true}},"gitHead":"f084b2947c28332f9e5d52110526ffdbe648f165","_id":"@b-pagis/ufonaut@1.0.2","_nodeVersion":"12.22.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-rwZorcy2Axx6/27l7II8qsbB5VPx5nE/1lk/POKL/5HmhSDGuu/xVQyZ2WcWEAUWt+r4HUUnb1caCzdqI3iC0w==","shasum":"855d508ac44c82cf70b64df25303e7ab76e1ac33","tarball":"https://registry.npmjs.org/@b-pagis/ufonaut/-/ufonaut-1.0.2.tgz","fileCount":5,"unpackedSize":24041,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg0PhOCRA9TVsSAnZWagAAt/wP/1xNimeLABmCL7NIEGQK\nP5+TyaIEwVp+Yb3dSxQusgBytQrVdaw/LNUCvUx6Jtic+u+zq1M+REai8eN5\no+YCYQ5bGUCrRJ3VU50rqwiash841HLV5znIZwKSCzXdn6yM//3vbf9xUt48\naxgvoCyl7xtBeu+uBpNd0h+lwXMzVv8NPzc/AQ4bICSedz0KUMRZFDtWjVYr\nOrabzZcbBUvjNJxqK/KpOjDChil2KSaEFNpcO5fS9ZDDG6GBuKwHS3Eqp1ff\ni23WAASiJaSqPZXofhQ0BER6LG1UW0+O91wkbgRPG4VRsIsBcq48y5JZFQDt\n52Zrhm4ZM3RK8ERaO/RmF5RhWAcvTgLNFgi6HPTuQ7THXyPYKSuOZSVrlgtH\nHNwxeT9+yEGcat1y4ExWcBcNz9K45lwTilMDM4ptrr+aeyqP9ztDAOnXJuom\nIqEq3o/QTIwruHo8nA3qge0D94P4zYliq0Rw4ZmCMcZM7qVgObBk8o6xmRVG\ndkWJ6+W9MVsqjmVha3xfNHzBAGckzqrh2DLXhBiuOXZMFzRwoUPlDLtN9xv2\neqbiDZFtfDtU2PoGraCMk9zJT2e/jDGMfoyNUoPHBSjKPAcW+UGT4W/liCJb\n94sR/Bse2IVTQ/2CaZe5ny4gxhdU18XsjU1585GsIRkkkEtVQqR4DuBdN74O\nvuLM\r\n=SAqt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDbq3KzXnirM3vSUeslnwEgZ3M3pg5uG0IJi24fvsd7hwIhAJwtDEFl4/84YdL5kK8Mvcbmu0WTnFLv1pZ5/dqAFQ5R"}]},"_npmUser":{"name":"b-pagis","email":"b-pagis@pm.me"},"directories":{},"maintainers":[{"name":"b-pagis","email":"b-pagis@pm.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ufonaut_1.0.2_1624307789533_0.7828029149068847"},"_hasShrinkwrap":false},"1.0.3":{"name":"@b-pagis/ufonaut","author":{"name":"b-pagis"},"license":"ISC","version":"1.0.3","description":"CLI for converting open api documentation to postman collection with additional options for integration testing","main":"lib/index.js","types":"lib/index.d.ts","engines":{"node":">=12.19","npm":">=6"},"bin":{"ufonaut":"bin/launcher"},"repository":{"type":"git","url":"git+https://github.com/b-pagis/ufonaut.git"},"bugs":{"url":"https://github.com/b-pagis/ufonaut/issues"},"homepage":"https://github.com/b-pagis/ufonaut#readme","keywords":["postman","integration","testing","cli","command-line","test","util","utility","helper","ufonaut","openapi","open-api","rest"],"scripts":{"run":"node lib/index.js","start":"npm run build && node lib/index.js","test":"jest --verbose","coverage":"jest --coverage","lint":"eslint . --ext .ts","build":"npm run clean:lib && tsc","build-prod":"npm run clean:lib && tsc -p tsconfig.prod.json","clean:lib":"rm -rf ./lib","clean:all":"rm -rf ./node_modules ./package-lock.json ./lib","clean:test-cache":"jest --clearCache","refresh":"npm run clean:all && npm i","pack":"npm run build && tar tvf $(npm pack)","prepare-release":"standard-version","release":"gh release create $(git describe --tags --abbrev=0) -F ./release-notes.md -t $(git describe --tags --abbrev=0) -d"},"devDependencies":{"@types/figlet":"^1.5.1","@types/inquirer":"^7.3.1","@types/jest":"^26.0.23","@types/node":"^15.12.2","@types/postman-collection":"^3.5.3","@typescript-eslint/eslint-plugin":"^4.26.1","@typescript-eslint/parser":"^4.26.1","commitizen":"^4.2.4","cz-conventional-changelog":"^3.2.1","eslint":"^7.28.0","eslint-config-airbnb-base":"^14.2.1","eslint-config-prettier":"^8.3.0","eslint-plugin-import":"^2.23.4","jest":"^27.0.4","standard-version":"^9.3.0","ts-jest":"^27.0.3","ts-node":"^10.0.0","typescript":"^4.3.2"},"dependencies":{"axios":"^0.24.0","commander":"^8.0.0","figlet":"^1.4.0","inquirer":"^8.1.0","kleur":"^4.1.4","openapi-to-postmanv2":"^2.7.0","postman-collection":"^4.0.0","tslib":"^2.3.0"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"standard-version":{"scripts":{"postchangelog":"sed -ri \"s/(const version = ')[^']*/\\1$(cat package.json | grep '\\\"version\\\"' | cut -d \":\" -f 2 | sed -e \"s/[\\\",\\, ]//g\")/\" src/index.ts"},"skip":{"commit":true}},"gitHead":"1ee87e6188770ad7a4a7197472db27a8b131d2c8","_id":"@b-pagis/ufonaut@1.0.3","_nodeVersion":"12.22.7","_npmVersion":"6.14.15","dist":{"integrity":"sha512-HkrArbpwoSqpPcmiohLO/w8nqjGX4b7XQf9sPSM8601jPbRWsephs0oIASW951bpWYngTxkHmnmENnvkev6CnQ==","shasum":"68179d77cda1a2d003ec7570f1b40b103721ee2a","tarball":"https://registry.npmjs.org/@b-pagis/ufonaut/-/ufonaut-1.0.3.tgz","fileCount":5,"unpackedSize":24171,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhzHB3CRA9TVsSAnZWagAAfGUP/3BOUMFeMW3B5bxq0D6z\nwa8gqcMslVRJVDhW7DRjafa516VMOFAx/o5CY5OXbLt3uU/GYoVKCYpNcuYk\nf2PAnQU6j1/nkppjCQ58U8NFpzGC5fSnrEXcBLqQZHaTLiHLA1aGxZZvO1IT\nlFJMhEpKY/ckKRvD9ZujFYqNohkvJjx9DSq+ZVfdZeqq42z0p5TMTVtyYqUa\nACXrw8K9HI/2E+i7heV/s6h2w4Vf8SyqCBaZWQjhW79TRMtSGLmZMkBPURA4\n6r7ZsNWW+GKokHQPLE5DY1n6w4kxJjYWXVrV82/CK4HCXa0W/KF0vvUSVBwX\nI47ZkTYUdjZC8hHY45Ee5JLZJ7dGNf2oq0XbYiPCGJ9v/ZCvE0rtMLc0deWi\nkWg9G5X/s6secmDUBtLEUTZ2Nbp875ePAza/THwjK90C4qo4MQ1xziF2ZvRD\n2wes/xOX8qZr8+UFMeaR5B5m5NnXjTqIpVKZtZxOnAAAuBnHo6yQe2BtPRkG\nLJpFPmCJQH83J0L5Rp5dw1U7FDbsOxUQaGgQW3DHihuOJn2Wr3IsB3C3T2MK\nNUi3xONj4fn4dEl4pFEwt33sBF116b/GSfzoqFR6Sqr+0/6qm6s0r7mg8Inf\ny+yMT/DhgcnpFHIBjsNBKlf0hjtaehEU9GuSzgh5CUITyeWBvmw0sCP8oXoZ\n/lHH\r\n=mDzN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGIZX6R/0L1NGuHook0wsjTEaTFz9sP6tD7rc3Uzi3nYAiEA2MDAX0l+6TIz1ahpm4rO/gX0fss017fhOqw6DDs8Alc="}]},"_npmUser":{"name":"b-pagis","email":"b-pagis@pm.me"},"directories":{},"maintainers":[{"name":"b-pagis","email":"b-pagis@pm.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ufonaut_1.0.3_1635364777319_0.6018311673076517"},"_hasShrinkwrap":false}},"time":{"created":"2020-11-19T21:59:31.311Z","1.0.0":"2020-11-19T21:59:31.516Z","modified":"2022-04-04T17:23:37.016Z","1.0.1":"2021-06-13T20:24:24.339Z","1.0.2":"2021-06-21T20:36:29.669Z","1.0.3":"2021-10-27T19:59:37.451Z"},"maintainers":[{"name":"b-pagis","email":"b-pagis@pm.me"}],"description":"CLI for converting open api documentation to postman collection with additional options for integration testing","homepage":"https://github.com/b-pagis/ufonaut#readme","keywords":["postman","integration","testing","cli","command-line","test","util","utility","helper","ufonaut","openapi","open-api","rest"],"repository":{"type":"git","url":"git+https://github.com/b-pagis/ufonaut.git"},"author":{"name":"b-pagis"},"bugs":{"url":"https://github.com/b-pagis/ufonaut/issues"},"license":"ISC","readme":"<div align=\"center\">\n<img src=\"https://github.com/b-pagis/ufonaut/blob/master/assets/logo.png?raw=true\">\n<hr />\nCLI for converting <a href=\"https://swagger.io/specification/\">open api</a> documentation to postman collection with additional options for integration testing\n</div>\n<hr />\n\n[![version][version-badge]][package]\n![Build][build]\n![Lint][lint]\n[![Coverage](https://codecov.io/gh/b-pagis/ufonaut/branch/master/graph/badge.svg)](https://codecov.io/gh/b-pagis/ufonaut)\n[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)\n[![Conventional Commits][conventional-commits-image]][conventional-commits-url]\n![License][license]\n\n# ❯ Installation\n\nUse the package manager [npm][npm] which is bundled with [node][node] to install `ufonaut`.\n\n```bash\nnpm install -g @b-pagis/ufonaut\n```\n\n# ❯ Usage\n\n> :scroll: NOTICE: By default this utility, when converting, replaces request _body_, _header_ and _query_ parameters' values with interpolated parameter names. As an example `\"keyName\":\"<string>\"` will be replaced with `\"keyName\":\"{{keyName}}\"`. This gives flexibility and ability to contain all information in variables.\n\n## Run interactive mode\n\n```bash\nufonaut\n```\n\nor\n\n```bash\nufonaut cli\n```\n\n![interactive mode](https://github.com/b-pagis/ufonaut/blob/master/assets/interactive-preview.gif?raw=true)\n\n## Convert Open API documentation to postman collection\n\n```bash\nufonaut convert -i [file-location] -o [output-file-location]\n```\n\n### Other options\n\n| Short flag | Long name                          | Required | Description                                                                                                                                      |\n| ---------- | ---------------------------------- | :------: | ------------------------------------------------------------------------------------------------------------------------------------------------ |\n| -i         | --input                            |   yes    | Local path or remote URL to open api JSON file.                                                                                                  |\n| -o         | --output                           |   yes    | File path where postman collection will be saved.                                                                                                |\n| -d         | --order                            |          | Path to [order](#ordering) config JSON file.                                                                                                     |\n| -s         | --scripts                          |          | Path to [scripts](#scripts) catalog containing `test` and `pre-request` catalogs with corresponding script files.                                |\n| -u         | --username                         |          | In case open api file is accessed by URL that is protected with basic auth, this option is used to provide basic auth username.                  |\n| -p         | --password                         |          | In case open api file is accessed by URL that is protected with basic auth, this option is used to provide basic auth password.                  |\n| -x         | --x-api-key                        |          | In case open api file is accessed by URL that is protected with X-API-KEY header, this option is used to provide X-API-KEY header value.         |\n| -b         | --bearer-token                     |          | In case open api file is accessed by URL that is protected with Bearer token, this option is used to provide Authorization: Bearer header value. |\n| -cr        | --rename                           |          | Postman collection's name.                                                                                                                       |\n| -ca        | --collection-auth-type             |          | Postman Collection's auth type [basic, apikey, bearer]. Will only affect those endpoints that are using some kinds of authentication option.     |\n| -cu        | --collection-basic-auth-username   |          | Postman Collection's basic auth username.                                                                                                        |\n| -cp        | --collection-basic-auth-password   |          | Postman Collection's basic auth password.                                                                                                        |\n| -ck        | --collection-api-key-auth-key      |          | Postman Collection's api key auth key (default: \"X-API-KEY\").                                                                                    |\n| -cv        | --collection-api-key-auth-value    |          | Postman Collection's api key auth key value.                                                                                                     |\n| -cl        | --collection-api-key-auth-location |          | Postman Collection's api key auth location [header, query] (default: \"header\").                                                                  |\n| -cb        | --collection-bearer-auth-token     |          | Postman Collection's bearer auth token value.                                                                                                    |\n| -cf        | --collection-forced-auth           |          | Force to use specified auth type for all endpoints (default: false).                                                                             |\n| -t         | --script-template                  |          | Path to scripts template catalog.                                                                                                                |\n\n## Create a set\n\n```bash\nufonaut create-sets -i [file-location] -o [output-file-location] -c [sets-config-location]\n```\n\n### Other options\n\n| Short flag | Long name      | Required | Description                                                                                                                                      |\n| ---------- | -------------- | :------: | ------------------------------------------------------------------------------------------------------------------------------------------------ |\n| -i         | --input        |   yes    | Local path or remote URL to open api JSON file.                                                                                                  |\n| -c         | --sets-config  |   yes    | Path to [sets](#sets) config JSON file.                                                                                                          |\n| -o         | --output       |   yes    | Path where to output sets collections.                                                                                                           |\n| -u         | --username     |          | In case open api file is accessed by URL that is protected with basic auth, this option is used to provide basic auth username.                  |\n| -p         | --password     |          | In case open api file is accessed by URL that is protected with basic auth, this option is used to provide basic auth password.                  |\n| -x         | --x-api-key    |          | In case open api file is accessed by URL that is protected with X-API-KEY header, this option is used to provide X-API-KEY header value.         |\n| -b         | --bearer-token |          | In case open api file is accessed by URL that is protected with Bearer token, this option is used to provide Authorization: Bearer header value. |\n\n## List endpoints in open api documentation\n\n```bash\nufonaut endpoints -i [file-location]\n```\n\n### Other options\n\n| Short flag | Long name      | Required | Description                                                                                                                                      |\n| ---------- | -------------- | :------: | ------------------------------------------------------------------------------------------------------------------------------------------------ |\n| -i         | --input        |   yes    | Local path or remote URL to open api JSON file.                                                                                                  |\n| -n         | --normalized   |          | In addition, outputs normalized endpoint path that could be used for script files.                                                               |\n| -t         | --output-type  |          | Output file type [md, csv]. By default prints to console.                                                                                        |\n| -o         | --output       |          | Output file location.                                                                                                                            |\n| -u         | --username     |          | In case open api file is accessed by URL that is protected with basic auth, this option is used to provide basic auth username.                  |\n| -p         | --password     |          | In case open api file is accessed by URL that is protected with basic auth, this option is used to provide basic auth password.                  |\n| -x         | --x-api-key    |          | In case open api file is accessed by URL that is protected with X-API-KEY header, this option is used to provide X-API-KEY header value.         |\n| -b         | --bearer-token |          | In case open api file is accessed by URL that is protected with Bearer token, this option is used to provide Authorization: Bearer header value. |\n\n## Ordering\n\nOption that allows ordering endpoints in the specified way. This option will provide postman collection with flat structure. Not specified endpoints are included into the list after ordered ones.\n\n### Config file example\n\n```json\n{\n  \"order\": [\n    {\n      \"method\": \"post\",\n      \"path\": \"user\"\n    },\n    {\n      \"method\": \"post\",\n      \"path\": \"store/order\"\n    },\n    {\n      \"method\": \"get\",\n      \"path\": \"pet/findByStatus\"\n    }\n  ]\n}\n```\n\n## Sets\n\nOption that allows to create small postman collections for dedicated scenarios.\n\n### Config options\n\n| Key                                        | Type    | Required | Description                                                                                                                                                                                       |\n| ------------------------------------------ | ------- | :------: | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| sets                                       | array   |   yes    | Array of sets configs.                                                                                                                                                                            |\n| sets[].collectionName                      | string  |   yes    | Name for the set. Value will be used for both - postman collection name and exported file name.                                                                                                   |\n| sets[].scriptsPath                         | string  |          | Path to [scripts](#scripts) catalog containing `test` and `pre-request` catalogs with script files.                                                                              |\n| sets[].template.preRequestTemplateFilePath | string  |          | Path to `pre-request` [template](#script-templates) catalog.                                                                                                                                        |\n| sets[].auth                                | object  |          | Authentication settings for endpoints in the collection.                                                                                                                                          |\n| sets[].auth.type                           | enum    |          | Postman Collection's auth type [basic, apikey, bearer].                                                                                                                                           |\n| sets[].auth.forced                         | boolean |          | Force to use specified auth type for all endpoints.                                                                                                                                               |\n| sets[].auth.basic                          | object  |          | Configuration for basic authentication type. Cannot be used with `apikey` or `bearer`.                                                                                                            |\n| sets[].auth.basic.username                 | string  |          | Postman Collection's basic auth username.                                                                                                                                                         |\n| sets[].auth.basic.password                 | string  |          | Postman Collection's basic auth password.                                                                                                                                                         |\n| sets[].auth.apikey                         | object  |          | Configuration for api key authentication type. Cannot be used with `basic` `bearer`.                                                                                                              |\n| sets[].auth.apikey.location                | enum    |          | Postman Collection's api key auth location. Possible values - `header`, `query`.                                                                                                                  |\n| sets[].auth.apikey.key                     | string  |          | Postman Collection's api key auth key.                                                                                                                                                            |\n| sets[].auth.apikey.value                   | string  |          | Postman Collection's api key auth key value.                                                                                                                                                      |\n| sets[].auth.bearer                         | object  |          | Configuration for Bearer token authentication type. Cannot be used with `basic`, `apikey`.                                                                                                        |\n| sets[].auth.bearer.token                   | string  |          | Postman Collection's bearer auth token value that will be added to `Authorization: Bearer` header.                                                                                                |\n| sets[].order                               | array   |   yes    | List of endpoints for following set. It is the same configuration as [order config](#ordering), with the only exception that endpoints that are not provided in following list will be discarded. |\n\n### Config example\n\n```json\n{\n  \"sets\": [\n    {\n      \"collectionName\": \"pc-sets-store-example\",\n      \"scriptsPath\": \"examples/scripts\",\n      \"template\": {\n        \"preRequestTemplateFilePath\": \"examples/scripts/template/pre-request.template\"\n      },\n      \"auth\": {\n        \"type\": \"basic\",\n        \"forced\": false,\n        \"basic\": {\n          \"username\": \"user\",\n          \"password\": \"user-password\"\n        }\n      },\n      \"order\": [\n        {\n          \"method\": \"post\",\n          \"path\": \"store/order\"\n        },\n        {\n          \"method\": \"get\",\n          \"path\": \"store/order/:orderId\"\n        },\n        {\n          \"method\": \"get\",\n          \"path\": \"store/inventory\"\n        }\n      ]\n    },\n    {\n      \"collectionName\": \"pc-sets-pet-example\",\n      \"auth\": {\n        \"type\": \"apikey\",\n        \"apikey\": {\n          \"location\": \"header\",\n          \"key\": \"x-my-key\",\n          \"value\": \"key-123\"\n        }\n      },\n      \"order\": [\n        {\n          \"method\": \"get\",\n          \"path\": \"pet/findByStatus\"\n        },\n        {\n          \"method\": \"put\",\n          \"path\": \"pet\"\n        },\n        {\n          \"method\": \"get\",\n          \"path\": \"pet/findByTags\"\n        },\n        {\n          \"method\": \"delete\",\n          \"path\": \"pet/:petId\"\n        },\n        {\n          \"method\": \"post\",\n          \"path\": \"pet\"\n        }\n      ]\n    }\n  ]\n}\n```\n\n> :scroll: NOTICE: Only those endpoints that are specified in set config will be included into set.\n\n## Scripts\n\nWhen storing everything in variables, it becomes possible to have some kind of content manipulation in either `pre-request` or `test` tab. This options gives possibility to load `pre-request` and `test` scripts from files to endpoints. However this option enforces some path and file name rules.\n\n### Path rules\n\nPath must contain two catalogs that are named `pre-request` and `test` in it.\n\n### File name\n\nEach catalog must contain a `.js` file with following rules `method-path`, where:\n\n- method - is HTTP method (e.g. post, get, etc)\n- path - is full path to the resource with removed non letter symbols, except dash, from it and placed in lowercase. E.g. for endpoint that is named `GET /pet/findByStatus-example` - the file name must be `get-petfindbystatus-example.js`.\n\n### Catalog structure example\n\n```\n.\n├── scripts\n    ├── pre-request\n    │   └── get-petfindbystatus-example.js\n    └── test\n        └── get-petfindbystatus-example.js\n\n```\n\n## Script templates\n\nPostman does not allow direct body manipulation (see [#4808](https://github.com/postmanlabs/postman-app-support/issues/4808)). The only way to do it, is to put request body into variable that can be used in `pre-request` script, but doing it manually is very tedious task. With this option it is possible to automate this task, by creating a template that will be used in every endpoint that has request body.\n\nTemplate supports following parameters:\n\n- `requestBody` - will be replaced by actual request body. In the request tab a `{{requestBody}}` parameter will be placed instead of actual request.\n- `scriptContent` - will be replaced with the content of `pre-request` [script](#scripts) file.\n\nParameters must be entered between `<%%=` and `=%%>`.\n\n### Template example\n\n```js\nvar requestBody = <%%=requestBody=%%>;\n\n<%%=scriptContent=%%>\n\npm.environment.set('requestBody', JSON.stringify(requestBody));\n\n```\n\n# ❯ Contributing\n\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\n\n> :scroll: NOTICE: if you are working on Windows, then following scripts will not work\n\n- `refresh`,\n- `clean:all`,\n- `clean:lib`,\n- `build`,\n- `start`\n\nThis is because `rm -rf` command is used. Please adjust it locally and please avoid committing updated commands. Thank you in advance for your contribution.\n\n# ❯ License\n\n[ISC][isc]\n\n[isc]: https://choosealicense.com/licenses/isc\n[npm]: https://www.npmjs.com/\n[node]: https://nodejs.org\n[license]: https://img.shields.io/github/license/b-pagis/ufonaut\n[conventional-commits-image]: https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg\n[conventional-commits-url]: https://conventionalcommits.org/\n[version-badge]: https://img.shields.io/npm/v/@b-pagis/ufonaut\n[package]: https://www.npmjs.com/package/@b-pagis/ufonaut\n[build]: https://github.com/b-pagis/ufonaut/workflows/Test/badge.svg\n[lint]: https://github.com/b-pagis/ufonaut/workflows/Lint/badge.svg\n","readmeFilename":"README.md"}