yapi-cli icon indicating copy to clipboard operation
yapi-cli copied to clipboard

YApi可视化接口管理平台部署工具

Results 14 yapi-cli issues
Sort by recently updated
recently updated
newest added

同一个json文件,如果JSON.stringify第三个参数传入2的还,会插入空格和\n,导致包体积过大从而/api/open/import_data接口返回413 以下是不同参数打印出来的length,不传入2体积仅有40% JSON.stringify(content, null, 2).length 1857523 JSON.stringify(content).length 739521

在[import.js#L32](https://github.com/YMFE/yapi-cli/blob/master/src/commands/import.js#L32)增加解析yaml 格式文件

go swag 2.0 语法解析有问题。 形如如下语法格式,解析不出来。升级swag client 后,手动拖拽正常。自动导入异常 "responses": { "200": { "description": "OK", "schema": { "allOf": [ { "$ref": "#/definitions/models.RtCode" }, { "type": "object", "properties": { "data": { "$ref": "#/definitions/models.RtGoodsBaseInfo"...

问题:执行`yapi server --port 9290`依然提示9090端口。 yapi-cli版本:1.5.0 问题版本代码: src/commands/server.js文件中 ` app.get('/api/base', async function (req, res) { let versions = await utils.getVersions(); res.send({ versions, root: path.resolve(process.cwd(), 'my-yapi') }) }) app.use(express.static(path.resolve(__dirname, './server'))) app.listen(9090) console.log('在浏览器打开...

解析出来的path有 "/oss/{id+}" 和 "/(zuul|vega)/wechat/getToken",不支持导入 ````javascript { "openapi": "3.0.0", "info": { "description": "swagger-ui for midway api", "version": "1.0.0", "title": "midway-swagger", "termsOfService": "", "contact": { "name": "API Support", "url": "http://www.example.com/support", "email": "[email protected]"...

(node:67551) Warning: Accessing non-existent property 'cat' of module exports inside circular dependency (Use `node --trace-warnings ...` to show where the warning was created) (node:67551) Warning: Accessing non-existent property 'cd' of...

移除没用到的包

如题 当用yapi import导入swagger生成的接口文档时,只能导入到一个项目,希望能同时有多个swagger.json脚本导入多个项目

依赖库安装完成,正在初始化数据库mongodb... > [email protected] install-server /Users/swmonk/test_yapi/my-yapi/vendors > node server/install.js Error: (node:21384) DeprecationWarning: current Server Discovery and Monitoring engine is deprecated, and will be removed in a future version. To use the...