Files
ThingsGateway/framework/web/ThingsGateway.Web.Core/Configuration/Swagger.Development.json
T
2023-11-18 22:45:24 +08:00

35 lines
1.3 KiB
JSON

{
"$schema": "https://gitee.com/dotnetchina/Furion/raw/v4/schemas/v4/furion-schema.json",
//swagger设置
"SpecificationDocumentSettings": {
"DocumentTitle": "ThingsGateway",
"DocExpansionState": "None",
"GroupOpenApiInfos": [
{
"Group": "ThingsGateway.OpenApi", //分组唯一标识,string 类型,必填
"Order": 99, //分组排序,int 类型,数字越大排前面,默认 0
"Title": "ThingsGateway物联网关接口", //配置分组标题,string 类型
"Description": "物联网关Swagger",
"Version": "1.0.0", //配置分组版本,默认 1.0
"TermsOfService": "https://gitee.com/diego2098/ThingsGateway", //配置相关链接地址,Uri 类型
"Contact": {
//配置联系方式
"Name": "Diego",
"Url": "https://gitee.com/diego2098/ThingsGateway",
"Email": "2248356998@qq.com"
},
"License": {
//配置协议,OpenApiLicense 类型
"Name": "Apache-2.0",
"Url": "https://gitee.com/diego2098/ThingsGateway/blob/master/LICENSE.txt"
}
}
],
"EnableEnumSchemaFilter": true,
"LoginInfo": {
"Enabled": true, // 是否开启Swagger登录
"CheckUrl": "/Swagger/CheckUrl",
"SubmitUrl": "/Swagger/SubmitUrl"
}
}
}