Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

trivial. change model name to system-notification-metric-parameters #306

Merged
merged 2 commits into from
Mar 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
85 changes: 22 additions & 63 deletions api/swagger/docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -9739,7 +9739,7 @@ const docTemplate = `{
"metricParameters": {
"type": "array",
"items": {
"$ref": "#/definitions/github_com_openinfradev_tks-api_pkg_domain.MetricParameterResponse"
"$ref": "#/definitions/github_com_openinfradev_tks-api_pkg_domain.SystemNotificationMetricParameterResponse"
}
},
"metricQuery": {
Expand All @@ -9748,7 +9748,6 @@ const docTemplate = `{
"name": {
"type": "string"
},

"organizationIds": {
"type": "array",
"items": {
Expand Down Expand Up @@ -11039,65 +11038,6 @@ const docTemplate = `{
}
}
},
"github_com_openinfradev_tks-api_pkg_domain.MergePermissionResponse": {
"type": "object",
"properties": {
"children": {
"type": "array",
"items": {
"$ref": "#/definitions/github_com_openinfradev_tks-api_pkg_domain.MergePermissionResponse"
}
},
"is_allowed": {
"type": "boolean"
},
"key": {
"type": "string"
}
}
},
"github_com_openinfradev_tks-api_pkg_domain.MergedPermissionSetResponse": {
"type": "object",
"properties": {
"configuration": {
"$ref": "#/definitions/github_com_openinfradev_tks-api_pkg_domain.MergePermissionResponse"
},
"dashboard": {
"$ref": "#/definitions/github_com_openinfradev_tks-api_pkg_domain.MergePermissionResponse"
},
"notification": {
"$ref": "#/definitions/github_com_openinfradev_tks-api_pkg_domain.MergePermissionResponse"
},
"policy": {
"$ref": "#/definitions/github_com_openinfradev_tks-api_pkg_domain.MergePermissionResponse"
},
"project_management": {
"$ref": "#/definitions/github_com_openinfradev_tks-api_pkg_domain.MergePermissionResponse"
},
"stack": {
"$ref": "#/definitions/github_com_openinfradev_tks-api_pkg_domain.MergePermissionResponse"
}
}
},
"github_com_openinfradev_tks-api_pkg_domain.MetricParameterResponse": {
"type": "object",
"required": [
"key",
"order",
"value"
],
"properties": {
"key": {
"type": "string"
},
"order": {
"type": "integer"
},
"value": {
"type": "string"
}
}
},
"github_com_openinfradev_tks-api_pkg_domain.OrganizationResponse": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -12331,6 +12271,25 @@ const docTemplate = `{
}
}
},
"github_com_openinfradev_tks-api_pkg_domain.SystemNotificationMetricParameterResponse": {
"type": "object",
"required": [
"key",
"order",
"value"
],
"properties": {
"key": {
"type": "string"
},
"order": {
"type": "integer"
},
"value": {
"type": "string"
}
}
},
"github_com_openinfradev_tks-api_pkg_domain.SystemNotificationParameter": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -12490,7 +12449,7 @@ const docTemplate = `{
"metricParameters": {
"type": "array",
"items": {
"$ref": "#/definitions/github_com_openinfradev_tks-api_pkg_domain.MetricParameterResponse"
"$ref": "#/definitions/github_com_openinfradev_tks-api_pkg_domain.SystemNotificationMetricParameterResponse"
}
},
"metricQuery": {
Expand Down Expand Up @@ -13053,7 +13012,7 @@ const docTemplate = `{
"metricParameters": {
"type": "array",
"items": {
"$ref": "#/definitions/github_com_openinfradev_tks-api_pkg_domain.MetricParameterResponse"
"$ref": "#/definitions/github_com_openinfradev_tks-api_pkg_domain.SystemNotificationMetricParameterResponse"
}
},
"metricQuery": {
Expand Down
84 changes: 22 additions & 62 deletions api/swagger/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -9733,7 +9733,7 @@
"metricParameters": {
"type": "array",
"items": {
"$ref": "#/definitions/github_com_openinfradev_tks-api_pkg_domain.MetricParameterResponse"
"$ref": "#/definitions/github_com_openinfradev_tks-api_pkg_domain.SystemNotificationMetricParameterResponse"
}
},
"metricQuery": {
Expand Down Expand Up @@ -11032,65 +11032,6 @@
}
}
},
"github_com_openinfradev_tks-api_pkg_domain.MergePermissionResponse": {
"type": "object",
"properties": {
"children": {
"type": "array",
"items": {
"$ref": "#/definitions/github_com_openinfradev_tks-api_pkg_domain.MergePermissionResponse"
}
},
"is_allowed": {
"type": "boolean"
},
"key": {
"type": "string"
}
}
},
"github_com_openinfradev_tks-api_pkg_domain.MergedPermissionSetResponse": {
"type": "object",
"properties": {
"configuration": {
"$ref": "#/definitions/github_com_openinfradev_tks-api_pkg_domain.MergePermissionResponse"
},
"dashboard": {
"$ref": "#/definitions/github_com_openinfradev_tks-api_pkg_domain.MergePermissionResponse"
},
"notification": {
"$ref": "#/definitions/github_com_openinfradev_tks-api_pkg_domain.MergePermissionResponse"
},
"policy": {
"$ref": "#/definitions/github_com_openinfradev_tks-api_pkg_domain.MergePermissionResponse"
},
"project_management": {
"$ref": "#/definitions/github_com_openinfradev_tks-api_pkg_domain.MergePermissionResponse"
},
"stack": {
"$ref": "#/definitions/github_com_openinfradev_tks-api_pkg_domain.MergePermissionResponse"
}
}
},
"github_com_openinfradev_tks-api_pkg_domain.MetricParameterResponse": {
"type": "object",
"required": [
"key",
"order",
"value"
],
"properties": {
"key": {
"type": "string"
},
"order": {
"type": "integer"
},
"value": {
"type": "string"
}
}
},
"github_com_openinfradev_tks-api_pkg_domain.OrganizationResponse": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -12324,6 +12265,25 @@
}
}
},
"github_com_openinfradev_tks-api_pkg_domain.SystemNotificationMetricParameterResponse": {
"type": "object",
"required": [
"key",
"order",
"value"
],
"properties": {
"key": {
"type": "string"
},
"order": {
"type": "integer"
},
"value": {
"type": "string"
}
}
},
"github_com_openinfradev_tks-api_pkg_domain.SystemNotificationParameter": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -12483,7 +12443,7 @@
"metricParameters": {
"type": "array",
"items": {
"$ref": "#/definitions/github_com_openinfradev_tks-api_pkg_domain.MetricParameterResponse"
"$ref": "#/definitions/github_com_openinfradev_tks-api_pkg_domain.SystemNotificationMetricParameterResponse"
}
},
"metricQuery": {
Expand Down Expand Up @@ -13046,7 +13006,7 @@
"metricParameters": {
"type": "array",
"items": {
"$ref": "#/definitions/github_com_openinfradev_tks-api_pkg_domain.MetricParameterResponse"
"$ref": "#/definitions/github_com_openinfradev_tks-api_pkg_domain.SystemNotificationMetricParameterResponse"
}
},
"metricQuery": {
Expand Down
34 changes: 16 additions & 18 deletions api/swagger/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1152,7 +1152,7 @@ definitions:
type: string
metricParameters:
items:
$ref: '#/definitions/github_com_openinfradev_tks-api_pkg_domain.MetricParameterResponse'
$ref: '#/definitions/github_com_openinfradev_tks-api_pkg_domain.SystemNotificationMetricParameterResponse'
type: array
metricQuery:
type: string
Expand Down Expand Up @@ -1320,8 +1320,6 @@ definitions:
name:
type: string
type: object
github_com_openinfradev_tks-api_pkg_domain.ExistsPolicyTemplateKindResponse:
type: object
github_com_openinfradev_tks-api_pkg_domain.FilterResponse:
properties:
column:
Expand Down Expand Up @@ -2006,19 +2004,6 @@ definitions:
stack:
$ref: '#/definitions/github_com_openinfradev_tks-api_pkg_domain.MergePermissionResponse'
type: object
github_com_openinfradev_tks-api_pkg_domain.MetricParameterResponse:
properties:
key:
type: string
order:
type: integer
value:
type: string
required:
- key
- order
- value
type: object
github_com_openinfradev_tks-api_pkg_domain.OrganizationResponse:
properties:
admin:
Expand Down Expand Up @@ -2841,6 +2826,19 @@ definitions:
severity:
type: string
type: object
github_com_openinfradev_tks-api_pkg_domain.SystemNotificationMetricParameterResponse:
properties:
key:
type: string
order:
type: integer
value:
type: string
required:
- key
- order
- value
type: object
github_com_openinfradev_tks-api_pkg_domain.SystemNotificationParameter:
properties:
operator:
Expand Down Expand Up @@ -2944,7 +2942,7 @@ definitions:
type: string
metricParameters:
items:
$ref: '#/definitions/github_com_openinfradev_tks-api_pkg_domain.MetricParameterResponse'
$ref: '#/definitions/github_com_openinfradev_tks-api_pkg_domain.SystemNotificationMetricParameterResponse'
type: array
metricQuery:
type: string
Expand Down Expand Up @@ -3317,7 +3315,7 @@ definitions:
type: string
metricParameters:
items:
$ref: '#/definitions/github_com_openinfradev_tks-api_pkg_domain.MetricParameterResponse'
$ref: '#/definitions/github_com_openinfradev_tks-api_pkg_domain.SystemNotificationMetricParameterResponse'
type: array
metricQuery:
type: string
Expand Down
Loading
Loading