中文枚举
This commit is contained in:
@@ -5656,7 +5656,7 @@ const docTemplate = `{
|
||||
],
|
||||
"properties": {
|
||||
"type": {
|
||||
"description": "Type 指定要测试的通知渠道\n@enum(smtp, wechat, lark, log)",
|
||||
"description": "Type 指定要测试的通知渠道",
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/notify.NotifierType"
|
||||
@@ -6611,14 +6611,12 @@ const docTemplate = `{
|
||||
"smtp",
|
||||
"wechat",
|
||||
"lark",
|
||||
"sms",
|
||||
"log"
|
||||
],
|
||||
"x-enum-varnames": [
|
||||
"NotifierTypeSMTP",
|
||||
"NotifierTypeWeChat",
|
||||
"NotifierTypeLark",
|
||||
"NotifierTypeSMS",
|
||||
"NotifierTypeLog"
|
||||
]
|
||||
}
|
||||
|
||||
@@ -5648,7 +5648,7 @@
|
||||
],
|
||||
"properties": {
|
||||
"type": {
|
||||
"description": "Type 指定要测试的通知渠道\n@enum(smtp, wechat, lark, log)",
|
||||
"description": "Type 指定要测试的通知渠道",
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/notify.NotifierType"
|
||||
@@ -6603,14 +6603,12 @@
|
||||
"smtp",
|
||||
"wechat",
|
||||
"lark",
|
||||
"sms",
|
||||
"log"
|
||||
],
|
||||
"x-enum-varnames": [
|
||||
"NotifierTypeSMTP",
|
||||
"NotifierTypeWeChat",
|
||||
"NotifierTypeLark",
|
||||
"NotifierTypeSMS",
|
||||
"NotifierTypeLog"
|
||||
]
|
||||
}
|
||||
|
||||
@@ -1130,9 +1130,7 @@ definitions:
|
||||
type:
|
||||
allOf:
|
||||
- $ref: '#/definitions/notify.NotifierType'
|
||||
description: |-
|
||||
Type 指定要测试的通知渠道
|
||||
@enum(smtp, wechat, lark, log)
|
||||
description: Type 指定要测试的通知渠道
|
||||
required:
|
||||
- type
|
||||
type: object
|
||||
@@ -1832,14 +1830,12 @@ definitions:
|
||||
- smtp
|
||||
- wechat
|
||||
- lark
|
||||
- sms
|
||||
- log
|
||||
type: string
|
||||
x-enum-varnames:
|
||||
- NotifierTypeSMTP
|
||||
- NotifierTypeWeChat
|
||||
- NotifierTypeLark
|
||||
- NotifierTypeSMS
|
||||
- NotifierTypeLog
|
||||
info:
|
||||
contact:
|
||||
|
||||
Reference in New Issue
Block a user