{"_id":"3c","_rev":"24-64f1c7435dd541586605359b46d80ec4","name":"3c","description":"json-schema api-doc mock-server","dist-tags":{"latest":"0.0.3-alpha"},"versions":{"0.0.1":{"name":"3c","description":"json-schema api-doc mock-server","version":"0.0.1","author":{"name":"baidao"},"keywords":["json schema","api doc","mock server","check"],"repository":{"type":"git","url":"git@github.com/baidao/npm-varify-interfaces.git"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/MIT"}],"scripts":{"test":"node test/index.js"},"main":"./index","bin":{"3c":"./bin/3c"},"dependencies":{"optimist":"0.6.x","commander":"1.3.x","handlebars":"1.3.0","underscore":"1.5.x","randexp":"0.3.3","restify":"2.8.1","z-schema":"*"},"engines":{"node":">= 0.10.0"},"gitHead":"0df05445df519c64809d22f1a79205b21f4e78ca","bugs":{"url":"https://github.com/baidao/npm-varify-interfaces/issues"},"homepage":"https://github.com/baidao/npm-varify-interfaces","_id":"3c@0.0.1","_shasum":"a30bdc20af2079133ed2ccff7b5ebde5f364df66","_from":"./","_npmVersion":"1.4.17","_npmUser":{"name":"sdyxch","email":"meteor1211@gmail.com"},"maintainers":[{"name":"sdyxch","email":"meteor1211@gmail.com"}],"dist":{"shasum":"a30bdc20af2079133ed2ccff7b5ebde5f364df66","tarball":"https://registry.npmjs.org/3c/-/3c-0.0.1.tgz","integrity":"sha512-Jxn2O+yqQcPAHdr4F/nHRFm+4EOHxUl9+0Pt9Q7zZp2wLCsluY4vKwFbMdi4rBieTqAPCV66HJ0V5IZEEPh8Cg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD+AGjcNyzaZfksuinCA9bSVTn/ubj5pfpUz+kec/hNYwIgHi/ZG7IkXK2jQR0ccczWB3QEOqy1wZ8sroIwNPA6ma0="}]}},"0.0.2":{"name":"3c","description":"json-schema api-doc mock-server","version":"0.0.2","author":{"name":"baidao"},"keywords":["json schema","api doc","mock server","check"],"repository":{"type":"git","url":"git@github.com/baidao/npm-varify-interfaces.git"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/MIT"}],"scripts":{"test":"node test/index.js"},"main":"./index","bin":{"3c":"./bin/3c"},"dependencies":{"coffee-script":"1.7.*","optimist":"0.6.x","commander":"1.3.x","handlebars":"1.3.0","underscore":"1.5.x","randexp":"0.3.3","restify":"2.8.1","z-schema":"*"},"engines":{"node":">= 0.10.0"},"gitHead":"dacf97dc55d0e916041e60eb1450e2dbfb0a1fb6","bugs":{"url":"https://github.com/baidao/npm-varify-interfaces/issues"},"homepage":"https://github.com/baidao/npm-varify-interfaces","_id":"3c@0.0.2","_shasum":"8ca2d1dd15daf883e2ea1c146f3cf5504bd31eff","_from":"./","_npmVersion":"1.4.18","_npmUser":{"name":"sdyxch","email":"meteor1211@gmail.com"},"maintainers":[{"name":"sdyxch","email":"meteor1211@gmail.com"}],"dist":{"shasum":"8ca2d1dd15daf883e2ea1c146f3cf5504bd31eff","tarball":"https://registry.npmjs.org/3c/-/3c-0.0.2.tgz","integrity":"sha512-whJhonrKI8E84pJaMiNsCc9psG+XP1bgnyqmLGXPadWM1haKfv4qQpuaIx4yPDiMsWxl3Mni1iZThKlWnmpZFg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCk7MenjDuBA7GSJYQz6Jw/k2jhcUOz+UwOR9aWbsebIwIhAMTalFuAe1DFyZZ4IHqc9B8ZtBS2Gps3ZIacS+R3rt0m"}]}},"0.0.3":{"name":"3c","description":"json-schema api-doc mock-server","version":"0.0.3","author":{"name":"baidao"},"keywords":["json schema","api doc","mock server","check"],"repository":{"type":"git","url":"git@github.com/baidao/npm-varify-interfaces.git"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/MIT"}],"scripts":{"test":"node test/index.js"},"main":"./index","bin":{"3c":"./bin/3c"},"dependencies":{"coffee-script":"1.7.*","optimist":"0.6.x","commander":"1.3.x","handlebars":"1.3.0","underscore":"1.5.x","randexp":"0.3.3","restify":"2.8.1","z-schema":"*"},"engines":{"node":">= 0.10.0"},"gitHead":"c2498c81bda56fc944f7342cbd5aa77b12b62034","bugs":{"url":"https://github.com/baidao/npm-varify-interfaces/issues"},"homepage":"https://github.com/baidao/npm-varify-interfaces","_id":"3c@0.0.3","_shasum":"853a2fd9059f2f188d8ac6cb87dd2d6b5aee315f","_from":"./","_npmVersion":"1.4.18","_npmUser":{"name":"sdyxch","email":"meteor1211@gmail.com"},"maintainers":[{"name":"sdyxch","email":"meteor1211@gmail.com"}],"dist":{"shasum":"853a2fd9059f2f188d8ac6cb87dd2d6b5aee315f","tarball":"https://registry.npmjs.org/3c/-/3c-0.0.3.tgz","integrity":"sha512-kOyVM9AdlLaEpbZkFkPldhThHwjNfsbRuEclDn36wW8nCoD1GD9sMOxOFsh47li4Bt0aIq4Mzq0eo+5Rlmk97Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBEIsLWS2oopWtTHBz8+xa9JuSGQMj75k9sYhlH5c2ljAiAWBdMERH3GWg5as87JI3DAWIUh++PaBK22Fr8vzYS1pA=="}]}},"0.1.0":{"name":"3c","description":"json-schema api-doc mock-server","version":"0.1.0","author":{"name":"baidao"},"keywords":["json schema","api doc","mock server","check"],"repository":{"type":"git","url":"git@github.com/baidao/npm-varify-interfaces.git"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/MIT"}],"scripts":{"test":"node test/index.js"},"main":"./index","bin":{"3c":"./bin/3c"},"dependencies":{"coffee-script":"1.7.*","optimist":"0.6.x","commander":"1.3.x","handlebars":"1.3.0","underscore":"1.5.x","randexp":"0.3.3","restify":"2.8.1","z-schema":"*"},"engines":{"node":">= 0.10.0"},"gitHead":"a78d8a735b4c8288c0bcc94c41959e7ad81c10fa","bugs":{"url":"https://github.com/baidao/npm-varify-interfaces/issues"},"homepage":"https://github.com/baidao/npm-varify-interfaces","_id":"3c@0.1.0","_shasum":"e0a4cb8852e9b46334a29597ab58d84677867afa","_from":"./","_npmVersion":"1.4.18","_npmUser":{"name":"sdyxch","email":"meteor1211@gmail.com"},"maintainers":[{"name":"sdyxch","email":"meteor1211@gmail.com"}],"dist":{"shasum":"e0a4cb8852e9b46334a29597ab58d84677867afa","tarball":"https://registry.npmjs.org/3c/-/3c-0.1.0.tgz","integrity":"sha512-vK+sVVQpcOtDSoBUhHZgvn21YhrFrw0SughBxxB3m6ysB7FG45OIVtssTE0butdoeogfD513Xmjp7RRBfaZFFA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEsUJyqgsi5AhOKnJv3cre0LIPFPwG/niIUEo3CXBA9JAiEA1n5kQkEy57QK3u3AE1Y1B0gWO/kQbpuuKxpHydDra1A="}]}},"0.1.0-beta":{"name":"3c","description":"json-schema api-doc mock-server","version":"0.1.0-beta","author":{"name":"baidao"},"keywords":["json schema","api doc","mock server","check"],"repository":{"type":"git","url":"git@github.com/baidao/npm-varify-interfaces.git"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/MIT"}],"scripts":{"test":"node test/index.js"},"main":"./index","bin":{"3c":"./bin/3c"},"dependencies":{"coffee-script":"1.7.*","optimist":"0.6.x","commander":"1.3.x","handlebars":"1.3.0","underscore":"1.5.x","randexp":"0.3.3","restify":"2.8.1","jayschema":"0.2.7"},"engines":{"node":">= 0.10.0"},"gitHead":"a78d8a735b4c8288c0bcc94c41959e7ad81c10fa","bugs":{"url":"https://github.com/baidao/npm-varify-interfaces/issues"},"homepage":"https://github.com/baidao/npm-varify-interfaces","_id":"3c@0.1.0-beta","_shasum":"819f6d953d61ac0422aa7477556dea92a7706c80","_from":"./","_npmVersion":"1.4.18","_npmUser":{"name":"sdyxch","email":"meteor1211@gmail.com"},"maintainers":[{"name":"sdyxch","email":"meteor1211@gmail.com"}],"dist":{"shasum":"819f6d953d61ac0422aa7477556dea92a7706c80","tarball":"https://registry.npmjs.org/3c/-/3c-0.1.0-beta.tgz","integrity":"sha512-lzBKZD0cfXeYY1+Z2vPKK5gsOwf139OdKnrwvDBB+lrktuxLxKdjqgzO26fZLlKODoSEBqSdGA/Pqhs9WkYwAA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCdWlfME8Z74NiBe2LNXLL8hCk6Tj+ZEGeuLTvLe8bPrQIhAP3xYU0Nk+lgpfVe8NQCxPM9cgnDUJ7djTdOeBW2anY/"}]}},"0.0.1-beta":{"name":"3c","description":"json-schema api-doc mock-server","version":"0.0.1-beta","author":{"name":"baidao"},"keywords":["json schema","api doc","mock server","check"],"repository":{"type":"git","url":"git@github.com/baidao/npm-varify-interfaces.git"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/MIT"}],"scripts":{"test":"node test/index.js"},"main":"./index","bin":{"3c":"./bin/3c"},"dependencies":{"coffee-script":"1.7.*","optimist":"0.6.x","commander":"1.3.x","handlebars":"1.3.0","underscore":"1.5.x","randexp":"0.3.3","restify":"2.8.1","jayschema":"0.2.7"},"engines":{"node":">= 0.10.0"},"gitHead":"24f78767e573d931f35aa1c34ec3bfb45ab7e2e4","bugs":{"url":"https://github.com/baidao/npm-varify-interfaces/issues"},"homepage":"https://github.com/baidao/npm-varify-interfaces","_id":"3c@0.0.1-beta","_shasum":"5f429d2253efae2a65e3e5606008a11c00c04f74","_from":"./","_npmVersion":"1.4.18","_npmUser":{"name":"sdyxch","email":"meteor1211@gmail.com"},"maintainers":[{"name":"sdyxch","email":"meteor1211@gmail.com"}],"dist":{"shasum":"5f429d2253efae2a65e3e5606008a11c00c04f74","tarball":"https://registry.npmjs.org/3c/-/3c-0.0.1-beta.tgz","integrity":"sha512-kWxAr1XGQFecX3pvV0jXbN6LKacouWdnSabBIOJmavkq8nOOSpqZWIWs4q+DgVXCSGS8j65DgbGfw/tMMDH5/g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIQCUQ7VLKXVjoOeQP7W/WsNv2/nzDa54A46NOFxQzJozxAIfTWd9b7yF10dZMhVt08BcKH43uuyniVRmcRUIa4eZKQ=="}]}},"1.0.0":{"name":"3c","description":"json-schema api-doc mock-server","version":"1.0.0","author":{"name":"baidao"},"keywords":["json schema","api doc","mock server","check"],"repository":{"type":"git","url":"git@github.com/baidao/npm-varify-interfaces.git"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/MIT"}],"scripts":{"test":"node test/index.js"},"main":"./index","bin":{"3c":"./bin/3c"},"dependencies":{"coffee-script":"1.7.*","optimist":"0.6.x","commander":"1.3.x","handlebars":"1.3.0","underscore":"1.5.x","randexp":"0.3.3","restify":"2.8.1","jayschema":"0.2.7"},"engines":{"node":">= 0.10.0"},"gitHead":"912b4827f8cd6b0e78dd3d5ab04eb0b0bff32a31","bugs":{"url":"https://github.com/baidao/npm-varify-interfaces/issues"},"homepage":"https://github.com/baidao/npm-varify-interfaces","_id":"3c@1.0.0","_shasum":"a7b45a3ce7cc17f0cf9cd236da18aa0569209e60","_from":"./","_npmVersion":"1.4.18","_npmUser":{"name":"sdyxch","email":"meteor1211@gmail.com"},"maintainers":[{"name":"sdyxch","email":"meteor1211@gmail.com"}],"dist":{"shasum":"a7b45a3ce7cc17f0cf9cd236da18aa0569209e60","tarball":"https://registry.npmjs.org/3c/-/3c-1.0.0.tgz","integrity":"sha512-2OPU/ah2lkrpmdI2Bkj9+yby/zitqW/+dohjiYFttoaEcxOnpnPjX7/B1OZKB4zhfp/Ddtc2Boijm77cLYu79Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIACJB6+Kj89Upra5Z4T506mIYT/2du5T9iYc8Dhyd5RpAiEAhPpQW2rl9hVgVGRi/UpX3mRrfQBxlXZWpRlorXe1jNA="}]}},"1.0.0-alpha":{"name":"3c","description":"json-schema api-doc mock-server","version":"1.0.0-alpha","author":{"name":"baidao"},"keywords":["json schema","api doc","mock server","check"],"repository":{"type":"git","url":"git@github.com/baidao/npm-varify-interfaces.git"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/MIT"}],"scripts":{"test":"node test/index.js"},"main":"./index","bin":{"3c":"./bin/3c"},"dependencies":{"coffee-script":"1.7.*","optimist":"0.6.x","commander":"1.3.x","handlebars":"1.3.0","underscore":"1.5.x","randexp":"0.3.3","restify":"2.8.1","jayschema":"0.2.7"},"engines":{"node":">= 0.10.0"},"gitHead":"912b4827f8cd6b0e78dd3d5ab04eb0b0bff32a31","bugs":{"url":"https://github.com/baidao/npm-varify-interfaces/issues"},"homepage":"https://github.com/baidao/npm-varify-interfaces","_id":"3c@1.0.0-alpha","_shasum":"4467e8c611a42a4adf11a36a1d3deaf0b14062cc","_from":"./","_npmVersion":"1.4.18","_npmUser":{"name":"sdyxch","email":"meteor1211@gmail.com"},"maintainers":[{"name":"sdyxch","email":"meteor1211@gmail.com"}],"dist":{"shasum":"4467e8c611a42a4adf11a36a1d3deaf0b14062cc","tarball":"https://registry.npmjs.org/3c/-/3c-1.0.0-alpha.tgz","integrity":"sha512-S28eYAaImcd2doI1zUuoVb6sNMxLXV3y6Jrau9EL4DTE0M8S5oQ8rL0JZWGonUEAO5MtpBSWNwrd6W2ayFNhww==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD5WRrGZ8RVvkn0ECmvtYuLsFTtDt/Bk9l2IFkF7c1hMQIhAMG8PgQS8k9ruTMVc+IpiaC2gkehdNLWD361ssH7kbsR"}]}},"0.0.1-alpha":{"name":"3c","description":"json-schema api-doc mock-server","version":"0.0.1-alpha","author":{"name":"baidao"},"keywords":["json schema","api doc","mock server","check"],"repository":{"type":"git","url":"git@github.com/baidao/npm-varify-interfaces.git"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/MIT"}],"scripts":{"test":"node test/index.js"},"main":"./index","bin":{"3c":"./bin/3c"},"dependencies":{"coffee-script":"1.7.*","optimist":"0.6.x","commander":"1.3.x","handlebars":"1.3.0","underscore":"1.5.x","randexp":"0.3.3","restify":"2.8.1","jayschema":"0.2.7"},"engines":{"node":">= 0.10.0"},"gitHead":"52949313e54008edf9ece3bc4779ec6096d244ff","bugs":{"url":"https://github.com/baidao/npm-varify-interfaces/issues"},"homepage":"https://github.com/baidao/npm-varify-interfaces","_id":"3c@0.0.1-alpha","_shasum":"a4540fe4b0d5a1274e6b9c60d9cf84381b1b4693","_from":"./","_npmVersion":"1.4.18","_npmUser":{"name":"sdyxch","email":"meteor1211@gmail.com"},"maintainers":[{"name":"sdyxch","email":"meteor1211@gmail.com"}],"dist":{"shasum":"a4540fe4b0d5a1274e6b9c60d9cf84381b1b4693","tarball":"https://registry.npmjs.org/3c/-/3c-0.0.1-alpha.tgz","integrity":"sha512-ujHnbwn2wrIWl8CpvC1XRgTZOcyJi5XFHXf87v1ni1yDLy6oU1rqoLUuCojda1TuIZfokmbPJj8THhULIHxN1Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDUJtd5qYT9ZnyuKA2E/99M+QiKI6QZt3MgaxfE0SWT5wIhAIwlWnB8V9cMcL63cwsq3mo9aKFZ3ZvSZ+RuS9mGjrmO"}]}},"0.0.2-alpha":{"name":"3c","description":"json-schema api-doc mock-server","version":"0.0.2-alpha","author":{"name":"baidao"},"keywords":["json schema","api doc","mock server","check"],"repository":{"type":"git","url":"git@github.com/baidao/npm-varify-interfaces.git"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/MIT"}],"scripts":{"test":"node test/index.js"},"main":"./index","bin":{"3c":"./bin/3c"},"dependencies":{"coffee-script":"1.7.*","optimist":"0.6.x","commander":"1.3.x","handlebars":"1.3.0","underscore":"1.5.x","randexp":"0.3.3","restify":"2.8.1","jayschema":"0.2.7"},"engines":{"node":">= 0.10.0"},"gitHead":"a02f070b335c903750e35bdbbe482b439f9605e2","bugs":{"url":"https://github.com/baidao/npm-varify-interfaces/issues"},"homepage":"https://github.com/baidao/npm-varify-interfaces","_id":"3c@0.0.2-alpha","_shasum":"eac0cfa4b39f649714e1c54939ac8d431c359d6b","_from":"./","_npmVersion":"1.4.18","_npmUser":{"name":"sdyxch","email":"meteor1211@gmail.com"},"maintainers":[{"name":"sdyxch","email":"meteor1211@gmail.com"}],"dist":{"shasum":"eac0cfa4b39f649714e1c54939ac8d431c359d6b","tarball":"https://registry.npmjs.org/3c/-/3c-0.0.2-alpha.tgz","integrity":"sha512-TuHcQ8ng1TbILwkTCCu5RcfrmMYdPPNH2ty+nrbw2hgNI40ynEHF3pV0P3eZibWTmDsObFp43Blay7zmvb+JXw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEwtqLgT9zIhSQwF4V6kpP8qlM85s0856GCEaH2d04umAiBXcmHZWK+kmG8UWru+7TDVXglbbTU4We+IzoWfQRnqww=="}]}},"0.0.3-alpha":{"name":"3c","description":"json-schema api-doc mock-server","version":"0.0.3-alpha","author":{"name":"baidao"},"keywords":["json schema","api doc","mock server","check"],"repository":{"type":"git","url":"git@github.com/baidao/npm-varify-interfaces.git"},"licenses":[{"type":"MIT","url":"http://www.opensource.org/licenses/MIT"}],"scripts":{"test":"node test/index.js"},"main":"./index","bin":{"3c":"./bin/3c"},"dependencies":{"coffee-script":"1.7.*","optimist":"0.6.x","commander":"1.3.x","handlebars":"1.3.0","underscore":"1.5.x","randexp":"0.3.3","restify":"2.8.1","jayschema":"0.2.7"},"engines":{"node":">= 0.10.0"},"gitHead":"0659870c5fd85f8c9145047f5daef6685d4dacfd","bugs":{"url":"https://github.com/baidao/npm-varify-interfaces/issues"},"homepage":"https://github.com/baidao/npm-varify-interfaces","_id":"3c@0.0.3-alpha","_shasum":"8b346c46c5460850c714b1a687c88131853b3fbe","_from":"./","_npmVersion":"1.4.18","_npmUser":{"name":"sdyxch","email":"meteor1211@gmail.com"},"maintainers":[{"name":"sdyxch","email":"meteor1211@gmail.com"}],"dist":{"shasum":"8b346c46c5460850c714b1a687c88131853b3fbe","tarball":"https://registry.npmjs.org/3c/-/3c-0.0.3-alpha.tgz","integrity":"sha512-/tqpZB3Lh8gP6JxrxNhk61RC1UZaM7TAk3moetoQspe2bDIDMRvPbFAY8hYqox6b5zeSkJUyxOahC/Nm8dXwgg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID4tfXCfgUCcL2c74DvTKbcNtyvb+wLU9IvinhZpX/jWAiEA1kKXBBPWH15ngZ1HgkFSWGFAoY9GlCqLkxV+D3/mAq4="}]}}},"readme":"## 简介\n* 生成文档do **\"c\"**\n* 生成mo **\"c\"** k server\n* 校验服务器返回数据**\"c\"** heck\n\n## 安装\n\n```\n(sudo) npm install 3c -g\n```\n\n## 使用原则\n约定大于配置\n尽量按照demo书写\n否则不保证..\n\n## 使用\n### 初始化\n> 3c -i 或者 3c --init\n\n环境初始化 生成对应的3个目录\n\n#### doc: 存放生成的文档\n\n默认是doc/api.md\n\n#### schema: 配置文件和接口json-schema文件\n- config.json: 配置文件\n\n```\n{\n    \"files\": [\"demo\"], //接口 schema 文件位置\n    \"format\": \"format/format\", //特殊匹配规则 文件\n    \"doc\": \"doc/api.md\", //生成文档位置\n    \"port\": 1234, //mock server端口\n    \"forceError\": false, //是否强制mock server请求失败 并 访问失败的数据\n    \"errorCode\": 500 //mock server请求失败时的http code\n}\n```\n- demo.js: schema栗子\n\n    - 简单的schema可以搞定\n    - 暂时不支持比较碉堡的 oneOf allOf $ref..等等\n    - 可以设置默认值 default\n\n```\nmodule.exports = [\n  meta: #接口相关基本藐视\n    title: 'test' #接口名称\n    description: 'just for test' #接口描述\n    host: 'http://localhost:1234'\n    uri: '/test'\n    method: 'get'\n\n  params: #请求参数\n    type: 'object'\n    properties:\n      token:\n        type: 'string'\n    required: ['token']\n\n  success: #请求成功\n    type: 'object'\n    required: ['array']\n    properties:\n      array:\n        type: 'array'\n        minItems: 8\n        maxItems: 10\n        items:\n          type: 'object'\n          required: ['id','name']\n          properties:\n            id:\n              type: 'integer'\n              description: 'id'\n            name:\n              type: 'string'\n              description: '姓名'\n              default: 'hello world'\n\n  error: #请求失败\n    type: 'object'\n    properties:\n      code:\n        type: 'integer'\n    msg:\n        type: 'string'\n    required: ['code']\n]\n\n```\n\n\n### 生成文档\n> 3c -d 或者 3c --doc\n\n按照schema 目录下的配置文件和json-schema文件 生成api文档\n\n### 启动mock server\n\n> 3c -m 或者 3c --mock\n\nmock server 默认1234端口\n\n### 数据校验\n\n> 3c -c 或者 3c --check\n\ncheck server 默认4321端口\n浏览器打开 http://localhost:4321\n进行校验\n\n\n## Hava fun!\n","maintainers":[{"name":"sdyxch","email":"meteor1211@gmail.com"}],"time":{"modified":"2022-06-12T14:07:17.607Z","created":"2014-06-29T12:47:14.538Z","0.0.1":"2014-06-29T12:47:14.538Z","0.0.2":"2014-06-30T02:37:58.717Z","0.0.3":"2014-06-30T02:56:09.642Z","0.1.0":"2014-06-30T03:18:42.872Z","0.1.0-beta":"2014-06-30T06:28:44.911Z","0.0.1-beta":"2014-06-30T07:21:56.272Z","1.0.0":"2014-06-30T09:16:29.113Z","1.0.0-alpha":"2014-06-30T09:20:09.687Z","0.0.1-alpha":"2014-06-30T09:30:33.750Z","0.0.2-alpha":"2014-07-01T03:35:59.422Z","0.0.3-alpha":"2014-07-01T03:41:15.189Z"},"homepage":"https://github.com/baidao/npm-varify-interfaces","keywords":["json schema","api doc","mock server","check"],"repository":{"type":"git","url":"git@github.com/baidao/npm-varify-interfaces.git"},"author":{"name":"baidao"},"bugs":{"url":"https://github.com/baidao/npm-varify-interfaces/issues"},"readmeFilename":"README.md"}