fix silence_options schema (#4384)
This commit is contained in:
parent
764606089d
commit
f9f5ae9042
2 changed files with 4 additions and 3 deletions
|
|
@ -638,6 +638,7 @@ class AlertGroupView(
|
|||
choices=[display_name for _, display_name in AlertGroup.SILENCE_DELAY_OPTIONS]
|
||||
),
|
||||
},
|
||||
many=True,
|
||||
)
|
||||
)
|
||||
@action(methods=["get"], detail=False)
|
||||
|
|
|
|||
|
|
@ -823,7 +823,7 @@ export interface paths {
|
|||
cookie?: never;
|
||||
};
|
||||
/** @description Retrieve a list of valid silence options */
|
||||
get: operations['alertgroups_silence_options_retrieve'];
|
||||
get: operations['alertgroups_silence_options_list'];
|
||||
put?: never;
|
||||
post?: never;
|
||||
delete?: never;
|
||||
|
|
@ -3765,7 +3765,7 @@ export interface operations {
|
|||
};
|
||||
};
|
||||
};
|
||||
alertgroups_silence_options_retrieve: {
|
||||
alertgroups_silence_options_list: {
|
||||
parameters: {
|
||||
query?: never;
|
||||
header?: never;
|
||||
|
|
@ -3779,7 +3779,7 @@ export interface operations {
|
|||
[name: string]: unknown;
|
||||
};
|
||||
content: {
|
||||
'application/json': components['schemas']['AlertGroupSilenceOptions'];
|
||||
'application/json': components['schemas']['AlertGroupSilenceOptions'][];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue