107 lines
2.3 KiB
JSON
107 lines
2.3 KiB
JSON
{
|
|
"openapi": "3.0.1",
|
|
"info": {
|
|
"title": "默认模块",
|
|
"description": "",
|
|
"version": "1.0.0"
|
|
},
|
|
"tags": [],
|
|
"paths": {
|
|
"/system": {
|
|
"post": {
|
|
"summary": "未命名接口",
|
|
"deprecated": false,
|
|
"description": "",
|
|
"tags": [],
|
|
"parameters": [
|
|
{
|
|
"name": "method",
|
|
"in": "query",
|
|
"description": "",
|
|
"required": false,
|
|
"example": "user.login",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "v",
|
|
"in": "query",
|
|
"description": "",
|
|
"required": false,
|
|
"example": "2.0",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "timestamp",
|
|
"in": "query",
|
|
"description": "",
|
|
"required": false,
|
|
"example": "{{$date.now}}",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"userName": {
|
|
"type": "string"
|
|
},
|
|
"passWord": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"userName",
|
|
"passWord"
|
|
]
|
|
},
|
|
"example": {
|
|
"userName": "夫立伟",
|
|
"passWord": "Ut cillum veniam"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {}
|
|
}
|
|
}
|
|
},
|
|
"headers": {}
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"bearer": []
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"components": {
|
|
"schemas": {},
|
|
"responses": {},
|
|
"securitySchemes": {
|
|
"bearer": {
|
|
"type": "http",
|
|
"scheme": "bearer"
|
|
}
|
|
}
|
|
},
|
|
"servers": [],
|
|
"security": []
|
|
} |