refactor: reorganize modules and add Linux build tooling
This commit is contained in:
274
module/base/initial/swagger/initial.swagger.json
Normal file
274
module/base/initial/swagger/initial.swagger.json
Normal file
@@ -0,0 +1,274 @@
|
||||
{
|
||||
"swagger": "2.0",
|
||||
"info": {
|
||||
"title": "check.proto",
|
||||
"version": "version not set"
|
||||
},
|
||||
"tags": [
|
||||
{
|
||||
"name": "Check"
|
||||
},
|
||||
{
|
||||
"name": "Data"
|
||||
}
|
||||
],
|
||||
"consumes": [
|
||||
"application/json"
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"paths": {},
|
||||
"definitions": {
|
||||
"initialAreasItem": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"pid": {
|
||||
"type": "string"
|
||||
},
|
||||
"deep": {
|
||||
"type": "integer",
|
||||
"format": "int32"
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"pinyinPrefix": {
|
||||
"type": "string"
|
||||
},
|
||||
"pinyin": {
|
||||
"type": "string"
|
||||
},
|
||||
"extId": {
|
||||
"type": "string"
|
||||
},
|
||||
"extName": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"initialAreasReply": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"areas": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/initialAreasItem"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"initialCheckForUpdatesReply": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"identity": {
|
||||
"type": "string",
|
||||
"title": "唯一码"
|
||||
},
|
||||
"version": {
|
||||
"type": "string",
|
||||
"title": "版本号"
|
||||
},
|
||||
"summary": {
|
||||
"type": "string",
|
||||
"title": "更析说明"
|
||||
},
|
||||
"files": {
|
||||
"type": "string",
|
||||
"title": "更新文件以及文件hash"
|
||||
},
|
||||
"pubdate": {
|
||||
"type": "string",
|
||||
"title": "发布时间"
|
||||
}
|
||||
}
|
||||
},
|
||||
"initialConfigItem": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"Identity": {
|
||||
"type": "string",
|
||||
"title": "唯一标识"
|
||||
},
|
||||
"key": {
|
||||
"type": "string",
|
||||
"title": "配置键"
|
||||
},
|
||||
"value": {
|
||||
"type": "string",
|
||||
"title": "配置值"
|
||||
},
|
||||
"version": {
|
||||
"type": "string",
|
||||
"format": "int64",
|
||||
"title": "版本号"
|
||||
}
|
||||
}
|
||||
},
|
||||
"initialConfigReply": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"data": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/initialConfigItem"
|
||||
},
|
||||
"title": "配置参数列表"
|
||||
}
|
||||
}
|
||||
},
|
||||
"initialCountryItem": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "integer",
|
||||
"format": "int64"
|
||||
},
|
||||
"Iso2": {
|
||||
"type": "string"
|
||||
},
|
||||
"Iso3": {
|
||||
"type": "string"
|
||||
},
|
||||
"numCode": {
|
||||
"type": "string"
|
||||
},
|
||||
"phoneCode": {
|
||||
"type": "string"
|
||||
},
|
||||
"currency": {
|
||||
"type": "string"
|
||||
},
|
||||
"currencySymbol": {
|
||||
"type": "string"
|
||||
},
|
||||
"region": {
|
||||
"type": "string"
|
||||
},
|
||||
"timezones": {
|
||||
"type": "string"
|
||||
},
|
||||
"translations": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"localName": {
|
||||
"type": "string"
|
||||
},
|
||||
"enabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"sortOrder": {
|
||||
"type": "integer",
|
||||
"format": "int32"
|
||||
}
|
||||
}
|
||||
},
|
||||
"initialCountryReply": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"countries": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/initialCountryItem"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"initialDatasItem": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string",
|
||||
"format": "int64"
|
||||
},
|
||||
"dataType": {
|
||||
"type": "string"
|
||||
},
|
||||
"key": {
|
||||
"type": "string"
|
||||
},
|
||||
"title": {
|
||||
"type": "string"
|
||||
},
|
||||
"remark": {
|
||||
"type": "string"
|
||||
},
|
||||
"icon": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"initialDatasReply": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"datas": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/initialDatasItem"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"initialStatusReply": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"code": {
|
||||
"type": "integer",
|
||||
"format": "int32",
|
||||
"title": "状态码"
|
||||
},
|
||||
"message": {
|
||||
"type": "string",
|
||||
"title": "状态说明"
|
||||
},
|
||||
"details": {
|
||||
"type": "string",
|
||||
"title": "数据"
|
||||
},
|
||||
"timeseq": {
|
||||
"type": "string",
|
||||
"format": "int64",
|
||||
"title": "响应时间序列"
|
||||
}
|
||||
}
|
||||
},
|
||||
"protobufAny": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"@type": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"additionalProperties": {}
|
||||
},
|
||||
"rpcStatus": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"code": {
|
||||
"type": "integer",
|
||||
"format": "int32"
|
||||
},
|
||||
"message": {
|
||||
"type": "string"
|
||||
},
|
||||
"details": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/protobufAny"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user