OpenAPI: Fix alerting DeleteMuteTiming errors (#91109)
The `GenericPublicError` is not what is actually returned by the API. Using `PublicError` describes the API correctly
This commit is contained in:
@@ -3086,9 +3086,9 @@
|
||||
}
|
||||
},
|
||||
"409": {
|
||||
"description": "GenericPublicError",
|
||||
"description": "PublicError",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/GenericPublicError"
|
||||
"$ref": "#/definitions/PublicError"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -3125,9 +3125,9 @@
|
||||
"description": " The mute timing was deleted successfully."
|
||||
},
|
||||
"409": {
|
||||
"description": "GenericPublicError",
|
||||
"description": "PublicError",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/GenericPublicError"
|
||||
"$ref": "#/definitions/PublicError"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -3343,9 +3343,9 @@
|
||||
}
|
||||
},
|
||||
"404": {
|
||||
"description": "GenericPublicError",
|
||||
"description": "PublicError",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/GenericPublicError"
|
||||
"$ref": "#/definitions/PublicError"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -3389,15 +3389,15 @@
|
||||
}
|
||||
},
|
||||
"400": {
|
||||
"description": "GenericPublicError",
|
||||
"description": "PublicError",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/GenericPublicError"
|
||||
"$ref": "#/definitions/PublicError"
|
||||
}
|
||||
},
|
||||
"409": {
|
||||
"description": "GenericPublicError",
|
||||
"description": "PublicError",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/GenericPublicError"
|
||||
"$ref": "#/definitions/PublicError"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -3429,9 +3429,9 @@
|
||||
"description": " The template was deleted successfully."
|
||||
},
|
||||
"409": {
|
||||
"description": "GenericPublicError",
|
||||
"description": "PublicError",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/GenericPublicError"
|
||||
"$ref": "#/definitions/PublicError"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -4947,14 +4947,6 @@
|
||||
"$ref": "#/definitions/Frame"
|
||||
}
|
||||
},
|
||||
"GenericPublicError": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"body": {
|
||||
"$ref": "#/definitions/PublicError"
|
||||
}
|
||||
}
|
||||
},
|
||||
"GettableAlertmanagers": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
||||
Reference in New Issue
Block a user