add missing option to swagger spec (#45070)

This commit is contained in:
Yuriy Tseretyan
2022-02-08 10:09:37 -05:00
committed by GitHub
parent f691902949
commit ea236c276e
3 changed files with 13 additions and 8 deletions

View File

@@ -355,6 +355,7 @@ type ExecutionErrorState string
const (
AlertingErrState ExecutionErrorState = "Alerting"
ErrorErrState ExecutionErrorState = "Error"
)
// swagger:model

View File

@@ -874,10 +874,11 @@
},
"exec_err_state": {
"enum": [
"Alerting"
"Alerting",
"Error"
],
"type": "string",
"x-go-enum-desc": "Alerting AlertingErrState",
"x-go-enum-desc": "Alerting AlertingErrState\nError ErrorErrState",
"x-go-name": "ExecErrState"
},
"id": {
@@ -1835,10 +1836,11 @@
},
"exec_err_state": {
"enum": [
"Alerting"
"Alerting",
"Error"
],
"type": "string",
"x-go-enum-desc": "Alerting AlertingErrState",
"x-go-enum-desc": "Alerting AlertingErrState\nError ErrorErrState",
"x-go-name": "ExecErrState"
},
"no_data_state": {

View File

@@ -2627,9 +2627,10 @@
"exec_err_state": {
"type": "string",
"enum": [
"Alerting"
"Alerting",
"Error"
],
"x-go-enum-desc": "Alerting AlertingErrState",
"x-go-enum-desc": "Alerting AlertingErrState\nError ErrorErrState",
"x-go-name": "ExecErrState"
},
"id": {
@@ -3589,9 +3590,10 @@
"exec_err_state": {
"type": "string",
"enum": [
"Alerting"
"Alerting",
"Error"
],
"x-go-enum-desc": "Alerting AlertingErrState",
"x-go-enum-desc": "Alerting AlertingErrState\nError ErrorErrState",
"x-go-name": "ExecErrState"
},
"no_data_state": {