{ "apifoxProject": "1.0.0", "$schema": { "app": "apifox", "type": "project", "version": "1.2.0" }, "info": { "name": "Server", "description": "", "mockRule": { "rules": [], "enableSystemRule": true } }, "apiCollection": [ { "name": "根目录", "id": 70829727, "auth": {}, "securityScheme": {}, "parentId": 0, "serverId": "", "description": "", "identityPattern": { "httpApi": { "type": "methodAndPath", "bodyType": "", "fields": [] } }, "shareSettings": {}, "visibility": "SHARED", "moduleId": 6526371, "preProcessors": [ { "id": "inheritProcessors", "type": "inheritProcessors", "data": {} } ], "postProcessors": [ { "id": "inheritProcessors", "type": "inheritProcessors", "data": {} } ], "inheritPostProcessors": {}, "inheritPreProcessors": {}, "items": [ { "name": "test8", "id": 73260890, "auth": {}, "securityScheme": {}, "parentId": 0, "serverId": "", "description": "", "identityPattern": { "httpApi": { "type": "inherit", "bodyType": "", "fields": [] } }, "shareSettings": {}, "visibility": "INHERITED", "moduleId": 6526371, "preProcessors": [ { "id": "inheritProcessors", "type": "inheritProcessors", "data": {} } ], "postProcessors": [ { "id": "inheritProcessors", "type": "inheritProcessors", "data": {} } ], "inheritPostProcessors": {}, "inheritPreProcessors": {}, "items": [ { "name": "register", "api": { "id": "388297363", "method": "post", "path": "http://localhost:3000/register", "parameters": {}, "auth": {}, "securityScheme": {}, "commonParameters": { "query": [], "body": [], "cookie": [], "header": [] }, "responses": [ { "id": "125594353", "code": 201, "name": "成功", "jsonSchema": { "type": "object", "properties": { "message": { "type": "string" } }, "required": [ "message" ] }, "contentType": "json" } ], "responseExamples": [], "requestBody": { "type": "application/json", "parameters": [], "jsonSchema": { "type": "object", "properties": {} }, "mediaType": "", "examples": [ { "mediaType": "application/json", "value": "{\r\n \"username\": \"abc\",\r\n \"password\": \"abc\",\r\n \"email\": \"abc@email.com\",\r\n \"gender\": \"male\",\r\n \"hobbies\": [\r\n \"听音乐\",\r\n \"玩游戏\"\r\n ],\r\n \"city\": \"重庆\",\r\n \"description\": \"爱坤坤\"\r\n}" } ], "oasExtensions": "" }, "description": "", "tags": [], "status": "developing", "serverId": "", "operationId": "", "sourceUrl": "", "ordering": 10, "cases": [], "mocks": [], "customApiFields": "{}", "advancedSettings": { "disabledSystemHeaders": {} }, "mockScript": {}, "codeSamples": [], "commonResponseStatus": {}, "responseChildren": [], "visibility": "INHERITED", "moduleId": 6526371, "oasExtensions": "", "type": "http", "preProcessors": [], "postProcessors": [], "inheritPostProcessors": {}, "inheritPreProcessors": {} } }, { "name": "login", "api": { "id": "388297808", "method": "post", "path": "http://localhost:3000/login", "parameters": {}, "auth": {}, "securityScheme": {}, "commonParameters": { "query": [], "body": [], "cookie": [], "header": [] }, "responses": [ { "id": "103375879", "code": 200, "name": "成功", "contentType": "raw" } ], "responseExamples": [], "requestBody": { "type": "application/json", "parameters": [], "jsonSchema": { "type": "object", "properties": {} }, "mediaType": "", "examples": [ { "mediaType": "application/json", "value": "{\r\n \"username\": \"abc\",\r\n \"password\": \"abc\"\r\n}" } ], "oasExtensions": "" }, "description": "", "tags": [], "status": "developing", "serverId": "", "operationId": "", "sourceUrl": "", "ordering": 20, "cases": [], "mocks": [], "customApiFields": "{}", "advancedSettings": { "disabledSystemHeaders": {} }, "mockScript": {}, "codeSamples": [], "commonResponseStatus": {}, "responseChildren": [], "visibility": "INHERITED", "moduleId": 6526371, "oasExtensions": "", "type": "http", "preProcessors": [], "postProcessors": [], "inheritPostProcessors": {}, "inheritPreProcessors": {} } } ] } ] } ], "socketCollection": [], "docCollection": [], "webSocketCollection": [], "socketIOCollection": [], "responseCollection": [], "schemaCollection": [], "securitySchemeCollection": [], "requestCollection": [ { "name": "根目录", "children": [], "ordering": [ "requestFolder.7895936" ], "items": [] } ], "environments": [], "commonScripts": [], "globalVariables": [], "commonParameters": null, "projectSetting": { "id": "7426031", "auth": {}, "securityScheme": {}, "gateway": [], "language": "zh-CN", "apiStatuses": [ "developing", "testing", "released", "deprecated" ], "mockSettings": {}, "preProcessors": [], "postProcessors": [], "advancedSettings": { "enableJsonc": false, "enableBigint": false, "responseValidate": true, "enableTestScenarioSetting": false, "enableYAPICompatScript": false, "isDefaultUrlEncoding": 2, "publishedDocUrlRules": { "defaultRule": "RESOURCE_KEY_ONLY", "resourceKeyStandard": "NEW" } }, "initialDisabledMockIds": [], "servers": [ { "id": "default", "name": "默认服务" } ], "cloudMock": { "security": "free", "enable": false, "tokenKey": "apifoxToken" } }, "customFunctions": [], "projectAssociations": [] }