{"_id":"oas-to-joi","_rev":"34-7d0b028301f7a78dfbf137695a6f6154","time":{"created":"2024-03-29T05:14:44.799Z","1.0.0":"2023-06-04T09:47:18.727Z","modified":"2024-05-18T06:19:38.429Z","0.0.1":"2023-06-04T09:49:30.690Z","0.0.1-alpha":"2024-03-28T05:06:03.532Z","0.0.1-beta":"2024-03-29T05:14:45.111Z","0.0.1-alpha.0":"2024-03-29T06:14:58.432Z","0.0.1-alpha.1":"2024-03-29T06:24:28.751Z","0.0.1-alpha.2":"2024-03-29T06:28:16.596Z","0.0.1-alpha.4":"2024-03-29T08:03:45.678Z","0.0.1-alpha.5":"2024-03-29T08:18:08.032Z","0.0.1-alpha.6":"2024-03-29T08:25:29.496Z","0.0.1-alpha.7":"2024-03-30T09:54:18.926Z","0.0.1-alpha.8":"2024-03-30T09:58:02.440Z","0.0.1-alpha.9":"2024-03-30T11:40:16.921Z","0.0.1-alpha.10":"2024-03-30T11:53:22.221Z","0.0.1-alpha.11":"2024-03-30T12:00:58.540Z","0.0.1-alpha.14":"2024-03-31T03:28:58.790Z","0.0.1-alpha.15":"2024-03-31T03:44:23.072Z","0.0.1-alpha.16":"2024-03-31T10:09:11.547Z","0.0.1-alpha.17":"2024-04-05T11:21:42.860Z","1.1.0":"2024-04-06T10:50:20.066Z","1.2.0":"2024-04-14T06:23:07.434Z","1.2.1":"2024-04-23T00:37:06.442Z","1.3.0":"2024-05-18T05:58:01.786Z","1.3.1":"2024-05-18T06:19:38.206Z"},"name":"oas-to-joi","dist-tags":{"latest":"1.3.1"},"versions":{"0.0.1-alpha.8":{"name":"oas-to-joi","version":"0.0.1-alpha.8","description":"Open Api Specification to Joi","main":"dist/lib.js","module":"dist/lib.esm.js","types":"dist/lib.d.ts","bin":{"oas-to-joi":"bin/oas-to-joi.js"},"publishConfig":{"access":"public"},"engines":{"node":">=14"},"scripts":{"lint":"eslint src/**/*.ts --fix","rollup":"npm run build & rollup --c","build":"tsc --build","clean":"tsc --build --clean","watch:build":"tsc -p tsconfig.json -w"},"keywords":["cli","oas","joi"],"repository":{"type":"git","url":"git+https://github.com/maxmartinezc/oas-to-joi.git"},"author":{"name":"Max Martinez Cartagena"},"license":"MIT","bugs":{"url":"https://github.com/maxmartinezc/oas-to-joi/issues"},"homepage":"https://github.com/maxmartinezc/oas-to-joi#readme","dependencies":{"yaml":"^2.3.1"},"devDependencies":{"@rollup/plugin-commonjs":"^25.0.7","@rollup/plugin-node-resolve":"^15.2.3","@rollup/plugin-typescript":"^11.1.6","@types/node":"^20.2.5","@types/yaml":"^1.9.7","@typescript-eslint/eslint-plugin":"^7.4.0","@typescript-eslint/parser":"^7.4.0","eslint":"^8.57.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.1.3","openapi-types":"^12.1.3","rollup":"^4.13.1","rollup-plugin-dts":"^6.1.0","rollup-plugin-peer-deps-external":"^2.2.4","tslib":"^2.6.2","typescript":"^5.1.3"},"_id":"oas-to-joi@0.0.1-alpha.8","gitHead":"515409943e9e8309942140f21545321b57095bd1","_nodeVersion":"18.19.1","_npmVersion":"10.2.4","dist":{"integrity":"sha512-v8IlOlrJtsTpEisBOHdChuYSWCWnLjMe9WnL3L3IjaDa9AuJaQhW2m9VQCh/SlsGbyQZY2GEaBjHwDi5EmfFYA==","shasum":"81cdb87c6dc9276bee61dba9ee668d2c0358d98a","tarball":"https://registry.npmjs.org/oas-to-joi/-/oas-to-joi-0.0.1-alpha.8.tgz","fileCount":9,"unpackedSize":83664,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHLyWiAoMwBmJNgjM0m1dA7yYdkMdnUl5lDfEOvDCqepAiEAlPjHs1EJ7f6DpxOF8qhehGFnddQmZTL2Bkh5H4teKhw="}]},"_npmUser":{"name":"maxmartinezc","email":"max.martinez.c@gmail.com"},"directories":{},"maintainers":[{"name":"maxmartinezc","email":"max.martinez.c@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/oas-to-joi_0.0.1-alpha.8_1711792682250_0.464350457527946"},"_hasShrinkwrap":false},"0.0.1-alpha.9":{"name":"oas-to-joi","version":"0.0.1-alpha.9","description":"Open Api Specification to Joi","main":"dist/lib.js","module":"dist/lib.esm.js","types":"dist/lib.d.ts","publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"engines":{"node":">=18"},"scripts":{"lint":"eslint src/**/*.ts --fix","rollup":"npm run build & rollup --c","build":"tsc --build","clean":"tsc --build --clean","watch:build":"tsc -p tsconfig.json -w"},"repository":{"type":"git","url":"git+https://github.com/maxmartinezc/oas-to-joi.git"},"author":{"name":"Max Martinez Cartagena"},"license":"MIT","bugs":{"url":"https://github.com/maxmartinezc/oas-to-joi/issues"},"homepage":"https://github.com/maxmartinezc/oas-to-joi#readme","dependencies":{"yaml":"^2.3.1"},"devDependencies":{"@rollup/plugin-commonjs":"^25.0.7","@rollup/plugin-node-resolve":"^15.2.3","@rollup/plugin-typescript":"^11.1.6","@types/node":"^20.2.5","@types/yaml":"^1.9.7","@typescript-eslint/eslint-plugin":"^7.4.0","@typescript-eslint/parser":"^7.4.0","eslint":"^8.57.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.1.3","openapi-types":"^12.1.3","rollup":"^4.13.1","rollup-plugin-dts":"^6.1.0","rollup-plugin-peer-deps-external":"^2.2.4","tslib":"^2.6.2","typescript":"^5.1.3"},"_id":"oas-to-joi@0.0.1-alpha.9","gitHead":"9f61c439e62c4e53ff98616aa509701f3e34ab7f","_nodeVersion":"18.19.1","_npmVersion":"10.2.4","dist":{"integrity":"sha512-ptYhgWyhQFBH9rbk1XDpYJ1QYzi0AD6AKQ7zE8zS8Usd1S/YmCcquWxDOFm2KbQMGK06ivG+wm/RAvcMZl6iIA==","shasum":"4a430f09cd152996d77cd6969255694d99c2c92d","tarball":"https://registry.npmjs.org/oas-to-joi/-/oas-to-joi-0.0.1-alpha.9.tgz","fileCount":8,"unpackedSize":82282,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF1v2KjjzPFVNkYB4eHC/OPw/OgRqQi7umQygjRg0JtRAiEAonO4ghut3/wwh4flZoYTQvt0nHQvA3SpJHC86uGrLNo="}]},"_npmUser":{"name":"maxmartinezc","email":"max.martinez.c@gmail.com"},"directories":{},"maintainers":[{"name":"maxmartinezc","email":"max.martinez.c@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/oas-to-joi_0.0.1-alpha.9_1711798816740_0.03369448916081352"},"_hasShrinkwrap":false},"0.0.1-alpha.10":{"name":"oas-to-joi","version":"0.0.1-alpha.10","description":"Open Api Specification to Joi","main":"dist/lib.js","module":"dist/lib.esm.js","types":"dist/lib.d.ts","publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"engines":{"node":">=18"},"scripts":{"lint":"eslint src/**/*.ts --fix","rollup":"npm run build & rollup --c","build":"tsc --build","clean":"tsc --build --clean","watch:build":"tsc -p tsconfig.json -w"},"repository":{"type":"git","url":"git+https://github.com/maxmartinezc/oas-to-joi.git"},"author":{"name":"Max Martinez Cartagena"},"license":"MIT","bugs":{"url":"https://github.com/maxmartinezc/oas-to-joi/issues"},"homepage":"https://github.com/maxmartinezc/oas-to-joi#readme","dependencies":{"yaml":"^2.3.1"},"devDependencies":{"@rollup/plugin-commonjs":"^25.0.7","@rollup/plugin-node-resolve":"^15.2.3","@rollup/plugin-typescript":"^11.1.6","@types/node":"^20.2.5","@types/yaml":"^1.9.7","@typescript-eslint/eslint-plugin":"^7.4.0","@typescript-eslint/parser":"^7.4.0","eslint":"^8.57.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.1.3","openapi-types":"^12.1.3","rollup":"^4.13.1","rollup-plugin-dts":"^6.1.0","rollup-plugin-peer-deps-external":"^2.2.4","tslib":"^2.6.2","typescript":"^5.1.3"},"_id":"oas-to-joi@0.0.1-alpha.10","gitHead":"57b14bec64f449ea5adde8c9fe7d62bd8c6dd638","_nodeVersion":"18.19.1","_npmVersion":"10.2.4","dist":{"integrity":"sha512-UFoiKB/+qLTCVJgJ7srOgs0m3w5efXwsRJWct0rQCh2eKsSJow53uV4uesWLidkcqx+dK/U0O+5Xd+iMvNd+8A==","shasum":"a0468c69bde006517a317186e9feff430268bd44","tarball":"https://registry.npmjs.org/oas-to-joi/-/oas-to-joi-0.0.1-alpha.10.tgz","fileCount":8,"unpackedSize":82283,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICrrpqaQOEYS/3ACt4e06owhohOjYCUZr5ms+hEA9BdwAiEArlWx72cqlLTT4HS1o5UQtN0ugqSasb+5TaGlcC26tdA="}]},"_npmUser":{"name":"maxmartinezc","email":"max.martinez.c@gmail.com"},"directories":{},"maintainers":[{"name":"maxmartinezc","email":"max.martinez.c@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/oas-to-joi_0.0.1-alpha.10_1711799602049_0.377653831690006"},"_hasShrinkwrap":false},"0.0.1-alpha.11":{"name":"oas-to-joi","version":"0.0.1-alpha.11","description":"Open Api Specification to Joi","main":"dist/lib.js","module":"dist/lib.esm.js","types":"dist/lib.d.ts","publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"engines":{"node":">=18"},"scripts":{"lint":"eslint src/**/*.ts --fix","rollup":"npm run build & rollup --c","build":"tsc --build","clean":"tsc --build --clean","watch:build":"tsc -p tsconfig.json -w"},"repository":{"type":"git","url":"git+https://github.com/maxmartinezc/oas-to-joi.git"},"author":{"name":"Max Martinez Cartagena"},"license":"MIT","bugs":{"url":"https://github.com/maxmartinezc/oas-to-joi/issues"},"homepage":"https://github.com/maxmartinezc/oas-to-joi#readme","dependencies":{"yaml":"^2.3.1"},"devDependencies":{"@rollup/plugin-commonjs":"^25.0.7","@rollup/plugin-node-resolve":"^15.2.3","@rollup/plugin-typescript":"^11.1.6","@types/node":"^20.2.5","@types/yaml":"^1.9.7","@typescript-eslint/eslint-plugin":"^7.4.0","@typescript-eslint/parser":"^7.4.0","eslint":"^8.57.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.1.3","openapi-types":"^12.1.3","rollup":"^4.13.1","rollup-plugin-dts":"^6.1.0","rollup-plugin-peer-deps-external":"^2.2.4","tslib":"^2.6.2","typescript":"^5.1.3"},"_id":"oas-to-joi@0.0.1-alpha.11","gitHead":"ab99d6fdf425518f334535833f763c49537a4efb","_nodeVersion":"18.19.1","_npmVersion":"10.2.4","dist":{"integrity":"sha512-Jo8ZIpe6qrHyu3O32El10t8GdwBeKwyuRdpGHro2UlhM6FhHirFfsCV2m3FmVHLCNHpsumS4Jnb4Gbta9hBnQA==","shasum":"63089372d34cebf7abaf0207c24c7d37e1d167b4","tarball":"https://registry.npmjs.org/oas-to-joi/-/oas-to-joi-0.0.1-alpha.11.tgz","fileCount":8,"unpackedSize":82283,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCYAMEWR6Nffsv7MdPS6AJntMi462IiXro0BiVtlbEXGwIhAKd45rTfQR8x3y8SHrrZzM9iFxASEBmcz2MRoiL63h1x"}]},"_npmUser":{"name":"maxmartinezc","email":"max.martinez.c@gmail.com"},"directories":{},"maintainers":[{"name":"maxmartinezc","email":"max.martinez.c@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/oas-to-joi_0.0.1-alpha.11_1711800058301_0.5630263673123179"},"_hasShrinkwrap":false},"0.0.1-alpha.14":{"name":"oas-to-joi","version":"0.0.1-alpha.14","description":"Open Api Specification to Joi","main":"dist/lib.js","module":"dist/lib.esm.js","types":"dist/lib.d.ts","bin":{"oas-to-joi":"bin/oas-to-joi.js"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"engines":{"node":">=18"},"scripts":{"lint":"eslint src/**/*.ts --fix","rollup":"npm run build & rollup --c","build":"tsc --build","clean":"tsc --build --clean","watch:build":"tsc -p tsconfig.json -w"},"keywords":["cli","oas","joi"],"repository":{"type":"git","url":"git+https://github.com/maxmartinezc/oas-to-joi.git"},"author":{"name":"Max Martinez Cartagena"},"license":"MIT","bugs":{"url":"https://github.com/maxmartinezc/oas-to-joi/issues"},"homepage":"https://github.com/maxmartinezc/oas-to-joi#readme","dependencies":{"yaml":"^2.3.1"},"devDependencies":{"@rollup/plugin-commonjs":"^25.0.7","@rollup/plugin-node-resolve":"^15.2.3","@rollup/plugin-typescript":"^11.1.6","@types/node":"^20.2.5","@types/yaml":"^1.9.7","@typescript-eslint/eslint-plugin":"^7.4.0","@typescript-eslint/parser":"^7.4.0","eslint":"^8.57.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.1.3","openapi-types":"^12.1.3","rollup":"^4.13.1","rollup-plugin-dts":"^6.1.0","rollup-plugin-peer-deps-external":"^2.2.4","tslib":"^2.6.2","typescript":"^5.1.3"},"_id":"oas-to-joi@0.0.1-alpha.14","gitHead":"a4dfd796a5b6c42c75e4aa08547fc2d40fe62295","_nodeVersion":"18.19.1","_npmVersion":"10.2.4","dist":{"integrity":"sha512-77l4R8YEez0P/7d1cx1KIeP9bafG9U6HEP2ZlXP6JzcXFzgpuuXzF1CQ4XbsxTDay+DGdXElae5mO823Cqs1LA==","shasum":"10431f09b78a8518caf350c1bdf65fccaa683773","tarball":"https://registry.npmjs.org/oas-to-joi/-/oas-to-joi-0.0.1-alpha.14.tgz","fileCount":9,"unpackedSize":83710,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFs/UWrz9eaMImmf9xCj2RicTsmWhlOL6M86j6HHIPA5AiEAw1hcQx7ZUynd8W0tOJp1Xbn668P2MfArNpfAhb98VSY="}]},"_npmUser":{"name":"maxmartinezc","email":"max.martinez.c@gmail.com"},"directories":{},"maintainers":[{"name":"maxmartinezc","email":"max.martinez.c@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/oas-to-joi_0.0.1-alpha.14_1711855738605_0.022845063988868874"},"_hasShrinkwrap":false},"0.0.1-alpha.15":{"name":"oas-to-joi","version":"0.0.1-alpha.15","description":"Open Api Specification to Joi","main":"dist/lib.js","module":"dist/lib.esm.js","types":"dist/lib.d.ts","bin":{"oas-to-joi":"bin/oas-to-joi.js"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"engines":{"node":">=18"},"scripts":{"lint":"eslint src/**/*.ts --fix","rollup":"npm run build & rollup --c","build":"tsc --build","clean":"tsc --build --clean","watch:build":"tsc -p tsconfig.json -w"},"keywords":["cli","oas","joi"],"repository":{"type":"git","url":"git+https://github.com/maxmartinezc/oas-to-joi.git"},"author":{"name":"Max Martinez Cartagena"},"license":"MIT","bugs":{"url":"https://github.com/maxmartinezc/oas-to-joi/issues"},"homepage":"https://github.com/maxmartinezc/oas-to-joi#readme","dependencies":{"yaml":"^2.3.1"},"devDependencies":{"@rollup/plugin-commonjs":"^25.0.7","@rollup/plugin-node-resolve":"^15.2.3","@rollup/plugin-typescript":"^11.1.6","@types/node":"^20.2.5","@types/yaml":"^1.9.7","@typescript-eslint/eslint-plugin":"^7.4.0","@typescript-eslint/parser":"^7.4.0","eslint":"^8.57.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.1.3","openapi-types":"^12.1.3","rollup":"^4.13.1","rollup-plugin-dts":"^6.1.0","rollup-plugin-peer-deps-external":"^2.2.4","tslib":"^2.6.2","typescript":"^5.1.3"},"_id":"oas-to-joi@0.0.1-alpha.15","gitHead":"ae17dd12279341943426f49cf6d27416395f91e5","_nodeVersion":"18.19.1","_npmVersion":"10.2.4","dist":{"integrity":"sha512-/03iPALkerivU1SLY+o48sVuuu2eeEaJY/CVWR+vKUPJpJ4Qv1oeJerqxvn1p1adaUHnDYuW0WbXB42UIdQtrw==","shasum":"3433c88d32da7a474dd1e9467f93e5cbfcf1540a","tarball":"https://registry.npmjs.org/oas-to-joi/-/oas-to-joi-0.0.1-alpha.15.tgz","fileCount":9,"unpackedSize":83710,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDA/5I7Dm5fb1DAmPWKU9XV2EuhAw4e0QuCfEqpPMz3mQIhANyxziNgkoLooEFFGj3fN1xoCPCWDRgx+EEl14bRxH9N"}]},"_npmUser":{"name":"maxmartinezc","email":"max.martinez.c@gmail.com"},"directories":{},"maintainers":[{"name":"maxmartinezc","email":"max.martinez.c@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/oas-to-joi_0.0.1-alpha.15_1711856662895_0.5571543903380647"},"_hasShrinkwrap":false},"0.0.1-alpha.16":{"name":"oas-to-joi","version":"0.0.1-alpha.16","description":"Open Api Specification to Joi","main":"dist/lib.js","module":"dist/lib.esm.js","types":"dist/lib.d.ts","bin":{"oas-to-joi":"bin/oas-to-joi.js"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"engines":{"node":">=18"},"scripts":{"lint":"eslint src/**/*.ts --fix","rollup":"npm run build & rollup --c","build":"tsc --build","clean":"tsc --build --clean","watch:build":"tsc -p tsconfig.json -w"},"keywords":["cli","oas","joi"],"repository":{"type":"git","url":"git+https://github.com/maxmartinezc/oas-to-joi.git"},"author":{"name":"Max Martinez Cartagena"},"license":"MIT","bugs":{"url":"https://github.com/maxmartinezc/oas-to-joi/issues"},"homepage":"https://github.com/maxmartinezc/oas-to-joi#readme","dependencies":{"yaml":"^2.3.1"},"devDependencies":{"@rollup/plugin-commonjs":"^25.0.7","@rollup/plugin-node-resolve":"^15.2.3","@rollup/plugin-typescript":"^11.1.6","@types/node":"^20.2.5","@types/yaml":"^1.9.7","@typescript-eslint/eslint-plugin":"^7.4.0","@typescript-eslint/parser":"^7.4.0","eslint":"^8.57.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.1.3","openapi-types":"^12.1.3","rollup":"^4.13.1","rollup-plugin-dts":"^6.1.0","rollup-plugin-peer-deps-external":"^2.2.4","tslib":"^2.6.2","typescript":"^5.1.3"},"_id":"oas-to-joi@0.0.1-alpha.16","gitHead":"f43235023fe3e5c90d9cd9a39ef909b29cfef336","_nodeVersion":"18.19.1","_npmVersion":"10.2.4","dist":{"integrity":"sha512-5Ds5hqodc+Esz1T5JL7J/rC8JvVlSzsCDfOnTSzwDp5I5NEhIotC1DKvwHfKqhp7u4ZeO7WokNQjU4V4/Xbeiw==","shasum":"b23bf5fe81ffd7ca978427c316a9a9ab183b2cd6","tarball":"https://registry.npmjs.org/oas-to-joi/-/oas-to-joi-0.0.1-alpha.16.tgz","fileCount":9,"unpackedSize":75836,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCyyrBCpfGp/e2PEGmNq3J5iSNanzVg1Ux/Z+0UpBrKhQIgfjIMXeDqYIKp4rakPnHMuMk7eXZvGp58zwbRqG9mNpU="}]},"_npmUser":{"name":"maxmartinezc","email":"max.martinez.c@gmail.com"},"directories":{},"maintainers":[{"name":"maxmartinezc","email":"max.martinez.c@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/oas-to-joi_0.0.1-alpha.16_1711879751393_0.37015108136690245"},"_hasShrinkwrap":false},"0.0.1-alpha.17":{"name":"oas-to-joi","version":"0.0.1-alpha.17","description":"Open Api Specification to Joi","main":"dist/lib.js","module":"dist/lib.esm.js","types":"dist/lib.d.ts","bin":{"oas-to-joi":"bin/oas-to-joi.js"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"engines":{"node":">=18"},"scripts":{"lint":"eslint src/**/*.ts --fix","rollup":"npm run build & rollup --c","build":"tsc --build","clean":"tsc --build --clean","watch:build":"tsc -p tsconfig.json -w","start":"ts-node-dev --respawn ./src/start.ts"},"keywords":["cli","oas","joi"],"repository":{"type":"git","url":"git+https://github.com/maxmartinezc/oas-to-joi.git"},"author":{"name":"Max Martinez Cartagena"},"license":"MIT","bugs":{"url":"https://github.com/maxmartinezc/oas-to-joi/issues"},"homepage":"https://github.com/maxmartinezc/oas-to-joi#readme","dependencies":{"yaml":"^2.3.1"},"devDependencies":{"@rollup/plugin-commonjs":"^25.0.7","@rollup/plugin-node-resolve":"^15.2.3","@rollup/plugin-typescript":"^11.1.6","@types/node":"^20.2.5","@types/yaml":"^1.9.7","@typescript-eslint/eslint-plugin":"^7.4.0","@typescript-eslint/parser":"^7.4.0","eslint":"^8.57.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.1.3","openapi-types":"^12.1.3","rollup":"^4.13.1","rollup-plugin-dts":"^6.1.0","rollup-plugin-peer-deps-external":"^2.2.4","ts-node":"^10.9.2","ts-node-dev":"^2.0.0","tslib":"^2.6.2","typescript":"^5.1.3"},"_id":"oas-to-joi@0.0.1-alpha.17","gitHead":"45e30f5813bf6f8228c81ed26e95c585b3e3a1e5","_nodeVersion":"18.20.0","_npmVersion":"10.5.0","dist":{"integrity":"sha512-yd6+6AffPqwqIFGFFQqD4ypjwN3HrE/ypKogxyri7iIxzqlCJc6XDe5LXHCMPGYBfWVbiax8JBH4L1ujrMl7nQ==","shasum":"a924787b819db3139149a543510f4f0b03590896","tarball":"https://registry.npmjs.org/oas-to-joi/-/oas-to-joi-0.0.1-alpha.17.tgz","fileCount":9,"unpackedSize":82858,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEMCHzMz8dU21EiiJvdNIt6Ch+wjA44DYz1m2tEWhf5KT5wCICCMaXtiTJTglo3FyObfdTaH1al8VWteZyvJFJd/GtfM"}]},"_npmUser":{"name":"maxmartinezc","email":"max.martinez.c@gmail.com"},"directories":{},"maintainers":[{"name":"maxmartinezc","email":"max.martinez.c@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/oas-to-joi_0.0.1-alpha.17_1712316102714_0.38909434357772366"},"_hasShrinkwrap":false},"1.1.0":{"name":"oas-to-joi","version":"1.1.0","description":"Open Api Specification to Joi","main":"dist/lib.js","module":"dist/lib.esm.js","types":"dist/lib.d.ts","bin":{"oas-to-joi":"bin/oas-to-joi.js"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"engines":{"node":">=18"},"scripts":{"lint":"eslint src/**/*.ts --fix","rollup":"npm run build & rollup --c","build":"tsc --build","clean":"tsc --build --clean","watch:build":"tsc -p tsconfig.json -w","start":"ts-node-dev --respawn ./src/start.ts"},"keywords":["cli","oas","joi"],"repository":{"type":"git","url":"git+https://github.com/maxmartinezc/oas-to-joi.git"},"author":{"name":"Max Martinez Cartagena"},"license":"MIT","bugs":{"url":"https://github.com/maxmartinezc/oas-to-joi/issues"},"homepage":"https://github.com/maxmartinezc/oas-to-joi#readme","dependencies":{"yaml":"^2.3.1"},"devDependencies":{"@rollup/plugin-commonjs":"^25.0.7","@rollup/plugin-node-resolve":"^15.2.3","@rollup/plugin-typescript":"^11.1.6","@types/node":"^20.2.5","@types/yaml":"^1.9.7","@typescript-eslint/eslint-plugin":"^7.4.0","@typescript-eslint/parser":"^7.4.0","eslint":"^8.57.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.1.3","openapi-types":"^12.1.3","rollup":"^4.13.1","rollup-plugin-dts":"^6.1.0","rollup-plugin-peer-deps-external":"^2.2.4","ts-node":"^10.9.2","ts-node-dev":"^2.0.0","tslib":"^2.6.2","typescript":"^5.1.3"},"_id":"oas-to-joi@1.1.0","gitHead":"c299d0ad493cb1cba30411acdc0977158e08d2ef","_nodeVersion":"18.20.0","_npmVersion":"10.5.0","dist":{"integrity":"sha512-gzJ4HUWCYqv9VKOLVQTTCB1qoqFtQqiPQvTQphIpqdpdDPOKkeCSgXuX11Dttn/aVySmpCDCTACBQiZR9vmwZA==","shasum":"88527d0683d2e3e899cb4111ff624299d1fd05ab","tarball":"https://registry.npmjs.org/oas-to-joi/-/oas-to-joi-1.1.0.tgz","fileCount":9,"unpackedSize":114746,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCLaRU5k+0xcdp7M+JyfMze8rqcLgdZcmv5zX9OMeG4gwIhAIcUiUS5FHBSoVt0zI/hmdT2xbvPXsrn1MZm+XbjU7LU"}]},"_npmUser":{"name":"maxmartinezc","email":"max.martinez.c@gmail.com"},"directories":{},"maintainers":[{"name":"maxmartinezc","email":"max.martinez.c@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/oas-to-joi_1.1.0_1712400619925_0.5662528617222482"},"_hasShrinkwrap":false},"1.2.0":{"name":"oas-to-joi","version":"1.2.0","description":"Open Api Specification to Joi","main":"dist/lib.js","module":"dist/lib.esm.js","types":"dist/lib.d.ts","bin":{"oas-to-joi":"bin/oas-to-joi.js"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"engines":{"node":">=18"},"scripts":{"lint":"eslint src/**/*.ts --fix","rollup":"npm run build & rollup --c","build":"tsc --build","clean":"tsc --build --clean","watch:build":"tsc -p tsconfig.json -w","start":"ts-node-dev --respawn ./src/start.ts"},"keywords":["cli","oas","joi"],"repository":{"type":"git","url":"git+https://github.com/maxmartinezc/oas-to-joi.git"},"author":{"name":"Max Martinez Cartagena"},"license":"MIT","bugs":{"url":"https://github.com/maxmartinezc/oas-to-joi/issues"},"homepage":"https://github.com/maxmartinezc/oas-to-joi#readme","dependencies":{"yaml":"^2.3.1"},"devDependencies":{"@rollup/plugin-commonjs":"^25.0.7","@rollup/plugin-node-resolve":"^15.2.3","@rollup/plugin-typescript":"^11.1.6","@types/node":"^20.2.5","@types/yaml":"^1.9.7","@typescript-eslint/eslint-plugin":"^7.4.0","@typescript-eslint/parser":"^7.4.0","eslint":"^8.57.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.1.3","joi":"^17.12.3","openapi-types":"^12.1.3","rollup":"^4.13.1","rollup-plugin-dts":"^6.1.0","rollup-plugin-peer-deps-external":"^2.2.4","ts-node":"^10.9.2","ts-node-dev":"^2.0.0","tslib":"^2.6.2","typescript":"^5.1.3"},"_id":"oas-to-joi@1.2.0","gitHead":"9dcbc808c59facaaf9c8958190feda7f7d60495d","_nodeVersion":"18.20.1","_npmVersion":"10.5.0","dist":{"integrity":"sha512-6/WRZM8HYJ5Vjbjh+wt/i9djnIGK+Dupvmlpd9c+V6j6pdFPzfF5jwyXEH9kBFiylcOdwwjP2ByHDBBY9kn0jw==","shasum":"3558afae511c974ba03c4d4a545f2be338c46bb9","tarball":"https://registry.npmjs.org/oas-to-joi/-/oas-to-joi-1.2.0.tgz","fileCount":7,"unpackedSize":68962,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCyD99iJIfoLz5nWieLsIgKQ2p8ronrsOCtRXbN0kTSRgIhAOHHX4KWSirCz5OTnlRIIMo3izXH36fscZ37X3HtWiIG"}]},"_npmUser":{"name":"maxmartinezc","email":"max.martinez.c@gmail.com"},"directories":{},"maintainers":[{"name":"maxmartinezc","email":"max.martinez.c@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/oas-to-joi_1.2.0_1713075787246_0.9915055024128328"},"_hasShrinkwrap":false},"1.2.1":{"name":"oas-to-joi","version":"1.2.1","description":"Open Api Specification to Joi","main":"dist/lib.js","module":"dist/lib.esm.js","types":"dist/lib.d.ts","bin":{"oas-to-joi":"bin/oas-to-joi.js"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"engines":{"node":">=18"},"scripts":{"lint":"eslint src/**/*.ts --fix","rollup":"npm run build & rollup --c","build":"tsc --build","clean":"tsc --build --clean","watch:build":"tsc -p tsconfig.json -w","start":"ts-node-dev --respawn ./src/start.ts"},"keywords":["cli","oas","joi"],"repository":{"type":"git","url":"git+https://github.com/maxmartinezc/oas-to-joi.git"},"author":{"name":"Max Martinez Cartagena"},"license":"MIT","bugs":{"url":"https://github.com/maxmartinezc/oas-to-joi/issues"},"homepage":"https://github.com/maxmartinezc/oas-to-joi#readme","dependencies":{"yaml":"^2.3.1"},"devDependencies":{"@rollup/plugin-commonjs":"^25.0.7","@rollup/plugin-node-resolve":"^15.2.3","@rollup/plugin-typescript":"^11.1.6","@types/node":"^20.2.5","@types/yaml":"^1.9.7","@typescript-eslint/eslint-plugin":"^7.4.0","@typescript-eslint/parser":"^7.4.0","eslint":"^8.57.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.1.3","joi":"^17.12.3","openapi-types":"^12.1.3","rollup":"^4.13.1","rollup-plugin-dts":"^6.1.0","rollup-plugin-peer-deps-external":"^2.2.4","ts-node":"^10.9.2","ts-node-dev":"^2.0.0","tslib":"^2.6.2","typescript":"^5.1.3"},"_id":"oas-to-joi@1.2.1","gitHead":"05f74792f7aaaa092ae52101d8ec1f0c1f766204","_nodeVersion":"18.20.2","_npmVersion":"10.5.0","dist":{"integrity":"sha512-FusRF74/vHjmBortbPN0enqCTW6ovkh9x6fom64XVEIZCwaMr+2iP82jRzLgWl3b/WbgzAc1ywBMG4wYpRtvag==","shasum":"9cb0018d9cfe819cccb85654f9693b41f6bead93","tarball":"https://registry.npmjs.org/oas-to-joi/-/oas-to-joi-1.2.1.tgz","fileCount":7,"unpackedSize":70670,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDI9lWE8PliIsieIExv1LwUtA4EjqBJ6r7a4XKSthYq5AIgRjM/Evo/7xDl+h+y6uOqonpJf7ui5KYEqAvTN2LdQ6Q="}]},"_npmUser":{"name":"maxmartinezc","email":"max.martinez.c@gmail.com"},"directories":{},"maintainers":[{"name":"maxmartinezc","email":"max.martinez.c@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/oas-to-joi_1.2.1_1713832626295_0.6747041076855931"},"_hasShrinkwrap":false},"1.3.0":{"name":"oas-to-joi","version":"1.3.0","description":"Open Api Specification to Joi","main":"dist/lib.js","module":"dist/lib.esm.js","types":"dist/lib.d.ts","bin":{"oas-to-joi":"bin/oas-to-joi.js"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"engines":{"node":">=18"},"scripts":{"lint":"eslint src/**/*.ts --fix","rollup":"npm run build & rollup --c","build":"tsc --build","clean":"tsc --build --clean","watch:build":"tsc -p tsconfig.json -w","start":"ts-node-dev --respawn ./src/start.ts"},"keywords":["cli","oas","joi"],"repository":{"type":"git","url":"git+https://github.com/maxmartinezc/oas-to-joi.git"},"author":{"name":"Max Martinez Cartagena"},"license":"MIT","bugs":{"url":"https://github.com/maxmartinezc/oas-to-joi/issues"},"homepage":"https://github.com/maxmartinezc/oas-to-joi#readme","dependencies":{"@readme/openapi-parser":"^2.5.1","yaml":"^2.3.1"},"devDependencies":{"@rollup/plugin-commonjs":"^25.0.7","@rollup/plugin-node-resolve":"^15.2.3","@rollup/plugin-typescript":"^11.1.6","@types/node":"^20.2.5","@types/yaml":"^1.9.7","@typescript-eslint/eslint-plugin":"^7.4.0","@typescript-eslint/parser":"^7.4.0","eslint":"^8.57.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.1.3","joi":"^17.12.3","openapi-types":"^12.1.3","rollup":"^4.13.1","rollup-plugin-dts":"^6.1.0","rollup-plugin-peer-deps-external":"^2.2.4","ts-node":"^10.9.2","ts-node-dev":"^2.0.0","tslib":"^2.6.2","typescript":"^5.1.3"},"_id":"oas-to-joi@1.3.0","gitHead":"66eb448f138598f07b318628b4173c93bd754eb1","_nodeVersion":"18.20.2","_npmVersion":"10.5.0","dist":{"integrity":"sha512-XmHG7SEsM2tcIB8/TQyApW5HWW7qQhaPbt9YaQ53IWyaoA1ud4Mfgx0BZLTFk/VzXx7EqKFqD86BOcodepkDRQ==","shasum":"b7699ed56ac93948c43266c96d2ce54fa67c0c10","tarball":"https://registry.npmjs.org/oas-to-joi/-/oas-to-joi-1.3.0.tgz","fileCount":7,"unpackedSize":73470,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDoVyyD7X1g52/tDpq+pkEg15NhwfLc0BPSp7jy+wXRpAIgKw8C6mDSYDcNlF6bC2wad1y/ayoXWAB0XNfluUeVdcE="}]},"_npmUser":{"name":"maxmartinezc","email":"max.martinez.c@gmail.com"},"directories":{},"maintainers":[{"name":"maxmartinezc","email":"max.martinez.c@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/oas-to-joi_1.3.0_1716011881624_0.8255266489983581"},"_hasShrinkwrap":false},"1.3.1":{"name":"oas-to-joi","version":"1.3.1","description":"Open Api Specification to Joi","main":"dist/lib.js","module":"dist/lib.esm.js","types":"dist/lib.d.ts","bin":{"oas-to-joi":"bin/oas-to-joi.js"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"engines":{"node":">=18"},"scripts":{"lint":"eslint src/**/*.ts --fix","rollup":"npm run build & rollup --c","build":"tsc --build","clean":"tsc --build --clean","watch:build":"tsc -p tsconfig.json -w","start":"ts-node-dev --respawn ./src/start.ts"},"keywords":["cli","oas","joi"],"repository":{"type":"git","url":"git+https://github.com/maxmartinezc/oas-to-joi.git"},"author":{"name":"Max Martinez Cartagena"},"license":"MIT","bugs":{"url":"https://github.com/maxmartinezc/oas-to-joi/issues"},"homepage":"https://github.com/maxmartinezc/oas-to-joi#readme","dependencies":{"@readme/openapi-parser":"^2.5.1","yaml":"^2.3.1"},"devDependencies":{"@rollup/plugin-commonjs":"^25.0.7","@rollup/plugin-node-resolve":"^15.2.3","@rollup/plugin-typescript":"^11.1.6","@types/node":"^20.2.5","@types/yaml":"^1.9.7","@typescript-eslint/eslint-plugin":"^7.4.0","@typescript-eslint/parser":"^7.4.0","eslint":"^8.57.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.1.3","joi":"^17.12.3","openapi-types":"^12.1.3","rollup":"^4.13.1","rollup-plugin-dts":"^6.1.0","rollup-plugin-peer-deps-external":"^2.2.4","ts-node":"^10.9.2","ts-node-dev":"^2.0.0","tslib":"^2.6.2","typescript":"^5.1.3"},"_id":"oas-to-joi@1.3.1","gitHead":"6360b808c51ae307620d0a87029797af2cabde92","_nodeVersion":"18.20.2","_npmVersion":"10.5.0","dist":{"integrity":"sha512-oR0LQKLPjwcJYTYQobdIsoKpDb/lUyhL7/BmrX0H3KRH/uSyTF57xQDFgLbDpAr9caWsS2RSH9W6gFNFBIILWA==","shasum":"abda75e373a56eb87215746ecbe5a77d236576d3","tarball":"https://registry.npmjs.org/oas-to-joi/-/oas-to-joi-1.3.1.tgz","fileCount":7,"unpackedSize":73235,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF60UkjF2Iu5sHobPAPbUrCwf0Nj7i4xyIdDet8WBOPUAiEAu/tEIc8r4GeNmRoCw2OBcGmXo4SZVjoSOfVe6aVCVR8="}]},"_npmUser":{"name":"maxmartinezc","email":"max.martinez.c@gmail.com"},"directories":{},"maintainers":[{"name":"maxmartinezc","email":"max.martinez.c@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/oas-to-joi_1.3.1_1716013178000_0.4537694377879171"},"_hasShrinkwrap":false}},"maintainers":[{"name":"maxmartinezc","email":"max.martinez.c@gmail.com"}],"description":"Open Api Specification to Joi","homepage":"https://github.com/maxmartinezc/oas-to-joi#readme","repository":{"type":"git","url":"git+https://github.com/maxmartinezc/oas-to-joi.git"},"author":{"name":"Max Martinez Cartagena"},"bugs":{"url":"https://github.com/maxmartinezc/oas-to-joi/issues"},"license":"MIT","readme":"# oas-to-joi\n\nCreate Joi schemas from your Open Api Specification file\n\n_**Bonus**_: Typescript Types files from the OAS schemas definitions too. \n\n## How to install\n`npm install --save-dev oas-to-joi`\n\n## How to use\n### Command Line\n```bash\noas-to-joi --oas-file openapi-example.yaml --output path_to_output_directory\n```\n\n### Or creating a npm script\n```typescript\n// ...\nscripts: {\n  \"oas-to-joi\": \"oas-to-joi --oas-file openapi-example.yaml --output path_to_output_directory\"\n}\n```\n```bash\nnpm run oas-to-joi\n```\n\n### Or creating an OasToJoi instance\n```typescript\nimport OasToJoi from \"oas-to-joi\";\nimport path from \"path\";\n\n  // pass the open api file\n  const oasFilePath = path.resolve(`${__dirname}/openapi-example.yaml`);\n  const outputDirPath = path.resolve(`${__dirname}/my-output-folder`);\n\n  // create OasToJoi object\n  const oasToJoi = new OasToJoi({\n    fileName: oasFilePath,\n    outputDir: outputDirPath,\n  });\n\n  // get Joi schemas and validations\n  await oasToJoi.dumpJoiSchemas();\n  // get Typescript types\n  await oasToJoi.dumpTypes();\n\n```\n## Validate data using Joi Schemas\n\n```typescript\n  import schema from \"./output/joi/add-pet.schema\";\n\n  const validate = (data) => {\n    const result = schema.validate(data, { abortEarly: false });\n    console.log(result);\n  };\n\n  validate({ name: \"Flanki\" });\n```\n\n## Output\n```bash\n==============================\n Dumping Joi Files ✨ \n==============================\n\nGetting definitions... \n------------------------------\n# -> Pet: 1.34 ms\n# -> Category: 0.06 ms\n# -> Tag: 0.18 ms\n# -> Order: 0.34 ms\n# -> User: 0.27 ms\n\nWriting files... \n------------------------------\n# -> update-pet.schema.ts: 3.85 ms\n# -> add-pet.schema.ts: 0.40 ms\n# -> place-order.schema.ts: 0.36 ms\n# -> create-user.schema.ts: 0.35 ms\n# -> create-users-with-list-input.schema.ts: 0.34 ms\n# -> update-user.schema.ts: 0.32 ms\n# -> category.schema.ts: 0.41 ms\n# -> tag.schema.ts: 0.39 ms\n# -> pet.schema.ts: 0.40 ms\n# -> order.schema.ts: 0.41 ms\n# -> user.schema.ts: 0.48 ms\nDone (11) Files\n\n==============================\n Dumping TypeScript Files ✨ \n==============================\n\nGetting definitions... \n------------------------------\n# -> Order: 0.56 ms\n# -> Customer: 0.15 ms\n# -> Address: 0.04 ms\n# -> Category: 0.03 ms\n# -> User: 0.18 ms\n# -> Tag: 0.03 ms\n# -> Pet: 0.30 ms\n# -> ApiResponse: 0.03 ms\n\nWriting files... \n------------------------------\n# -> order.type.ts: 0.58 ms\n# -> address.type.ts: 1.34 ms\n# -> customer.type.ts: 0.91 ms\n# -> category.type.ts: 1.01 ms\n# -> user.type.ts: 2.71 ms\n# -> tag.type.ts: 0.86 ms\n# -> pet.type.ts: 0.63 ms\n# -> api-response.type.ts: 0.51 ms\nDone (8) Files\n```\n\nAfter dump the object you will get two folders with a set of files which represents the OAS file operations and schemas. For example:\n```\n└──── output\n   ├── joi\n   │   ├── add-pet.schema.ts\n   │   ├── category.schema.ts\n   │   ├── create-user.schema.ts\n   │   ├── order.schema.ts\n   │   ├── pet.schema.ts\n   │   ├── place-order.schema.ts\n   │   ├── tag.schema.ts\n   │   ├── update-pet.schema.ts\n   │   ├── update-user.schema.ts\n   │   └── user.schema.ts\n   └── types\n       ├── address.type.ts\n       ├── api-response.type.ts\n       ├── category.type.ts\n       ├── customer.type.ts\n       ├── order.type.ts\n       ├── pet.type.ts\n       ├── tag.type.ts\n       └── user.type.ts\n```\n### Output example\n```typescript\n//#user.schema.ts\n// This file is autogenerated by \"oas-to-joi\"\nimport Joi from \"joi\";\n\nconst schema = Joi.object({\n  id: Joi.number(),\n  username: Joi.string().max(20),\n  firstName: Joi.string().min(3).max(20),\n  lastName: Joi.string().max(20),\n  email: Joi.string().email(),\n  password: Joi.string(),\n  phone: Joi.string().pattern(/^\\d{3}-\\d{3}-\\d{4}$/),\n  userStatus: Joi.number()\n});\n\nexport default schema;\n\n```\n```typescript\n//#order.schema.ts\n// This file is autogenerated by \"oas-to-joi\"\nimport Joi from \"joi\";\n\nconst schema = Joi.object({\n  id: Joi.number(),\n  petId: Joi.number(),\n  quantity: Joi.number(),\n  shipDate: Joi.date(),\n  status: Joi.string().valid(\"placed\",\"approved\",\"delivered\"),\n  complete: Joi.boolean()\n});\n\nexport default schema;\n```\n\n## OAS Data Type Supported\n- string\n  - format: date & date-time -> joi date type (only default settings) \n  - format: email -> joi email type (only default settings)\n  - format: uuid -> joi uuid type (only default settings)\n  - format: hostname -> joi hostname (only default settings)\n  - format: uri -> joi uri (only default settings)\n  - format: byte -> joi base64 (only default setings)\n  - format: ipv4 -> ip({ version: [\"ipv4\"], cidr: \"optional\" }) (cidr optional by default)\n  - format: ipv6 -> ip({ version: [\"ipv6\"], cidr: \"optional\" }) (cidr optional by default)\n  - pattern -> joi string patter\n  - minLength -> joi string min\n  - maxLength -> joi string max\n  - nullable -> joi allow null\n  \n- number & integer\n  - minimum -> joi number min\n  - maximum -> joi number max\n  - nullable -> joi allow null\n- boolean\n- array\n\n## Limitation\n\n- Only support YAML files.\n- Only tested with OAS 3.x version\n- The YAML file have to be in utf8 encode.\n- Doesn't support circular references, for example:\n```typescript\n// Pet schema file\nconst schema = Joi.object({\n  id: Joi.number(),\n  name: Joi.string().required(),\n  tags: Joi.array().items(Tag),\n});\n\n// Tag schema file\nconst schema = Joi.object({\n  id: Joi.number(),\n  name: Joi.string().required(),\n  others: Pet,\n});\n```\n\nIn this case, Tags schema has a reference to Pet and Pet also has a reference to Tag.\nThe workaround is put both together in the same file and modify the export default value.\n","readmeFilename":"README.md","keywords":["cli","oas","joi"]}