nei
nei copied to clipboard
NEI 接口管理平台 源代码
**Bug 描述** 导入json后,”数据模型“中 Array Object 中字段错误(偏移),在私有化部署和nei.netease.com上都会复现。 而数据模型中数据出错,导致了所有引用该数据类型的字段全部错误。 **重现步骤** 导出前:   一个随意的 http post 接口包含了这两个数据类型。 导入后:   **其他信息** 获取改测试用json的url为:https://nei.netease.com/api/exportjson?key=117b5e88d87451856464436ae7717efa
从`https://nei.netease.com/api/exportjson?key=:key`导出得到的Json文件,导入后接口分组没有了,而且所有接口状态都是未开始 
**Bug 描述** ono.js:64 Uncaught (in promise) SyntaxError: [object Object] is not a valid Swagger API definition at index.js:65 ** 导入文件** ```json { "openapi": "3.0.1", "info": { "title": "lz2392504 的项目", "description":...
**Bug 描述** 解析Postman接口文件错误 接口为空! **导入文件** ```json { "info":{ "_postman_id":"b29b6952-3371-4276-a1ce-6111cafec135", "name":"lz2392504 的项目", "schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json" }, "item":[ { "name":"测试接口-获取用户信息接口", "request":{ "auth":{ "type":"noauth" }, "method":"GET", "header":[ ], "url":{ "raw":"{{baseUrl}}/getUserInfo?userId=", "host":[ "{{baseUrl}}" ], "path":[ "getUserInfo"...
**Bug 描述** https://nei.netease.com 无法访问 **截图** 
**Bug 描述** 如何在数据模型res_datatype_create.js保存时,引入弹窗?在其他js如param_editor_core.js中点击事件可以通过new MessageBox({ data: { } }).$inject(document.body);引入弹窗 **重现步骤** 1. 定义一个组件,类似于public\src\module\poplayer\profile_bind_layer.js 2. 在res_datatype_create.js中引入 NEJ.define(['pro/poplayer/messagebox'],function (message) 创建组件 _pro.__handleSubmit = function () { // 正在提交当中, 不用再次提交 if (this.__submit) { return; } if...
如何用xml报文进行接口测试
git源码后 npm install nej -g 完成,下一步 npm install 时出现 node-gyp rebuild 卡主不动的问题。请问怎么处理? 
**Bug 描述** Swagger中的定义的tags导入后会丢失 **重现步骤** 1. 在代码中用@Api(tags ="标签")对类进行注解 2. 导出swagger json文件 3. 通过NEI中的“新建接口-导入swagger文件”进行导入 3. bug 重现 **期望结果** 导入的接口包含代码中定义的swagger tags **涉及文件** public/src/lib/NEI_import/src/NEISwagger.ts public/src/lib/NEI_import/src/NEIInterfaceBean.ts **问题原因** NEI_Import的代码中给把标签赋值给了NEIInterfaceBean.tags属性,但是在NEI中标签属性是tag,没有s,故导致丢失标签数据。
**Bug 描述** postman 批量导入接口时无header信息 **重现步骤** ```json { "info": { "_postman_id": "5fe34b83-6000-4468-9e25-be7c1fd8f00c", "name": "Test", "schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json" }, "item": [ { "name": "01", "request": { "method": "POST", "header": [ { "key": "x-api-key",...