mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
fixed openapi enrollment_api_keys (#128610)
This commit is contained in:
parent
2dfc0b9d19
commit
94858d7449
4 changed files with 23 additions and 60 deletions
|
@ -1157,7 +1157,7 @@
|
|||
"schema": {
|
||||
"type": "array"
|
||||
},
|
||||
"name": "agentsIds",
|
||||
"name": "agentsId",
|
||||
"in": "query",
|
||||
"required": true
|
||||
}
|
||||
|
@ -2302,7 +2302,15 @@
|
|||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/get_enrollment_api_keys_response"
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"item": {
|
||||
"$ref": "#/components/schemas/enrollment_api_key"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"item"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -3586,7 +3594,7 @@
|
|||
"lens",
|
||||
"ml-module",
|
||||
"security-rule",
|
||||
"csp-rule-template"
|
||||
"csp_rule_template"
|
||||
]
|
||||
},
|
||||
"elasticsearch_asset_type": {
|
||||
|
@ -4152,30 +4160,6 @@
|
|||
"created_at"
|
||||
]
|
||||
},
|
||||
"get_enrollment_api_keys_response": {
|
||||
"title": "Bulk install packages response",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"list": {
|
||||
"type": "array",
|
||||
"deprecated": true,
|
||||
"properties": {
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/enrollment_api_key"
|
||||
}
|
||||
}
|
||||
},
|
||||
"item": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/enrollment_api_key"
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"item"
|
||||
]
|
||||
},
|
||||
"upgrade_diff": {
|
||||
"title": "Package policy Upgrade dryrun",
|
||||
"type": "array",
|
||||
|
|
|
@ -1412,7 +1412,12 @@ paths:
|
|||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/get_enrollment_api_keys_response'
|
||||
type: object
|
||||
properties:
|
||||
item:
|
||||
$ref: '#/components/schemas/enrollment_api_key'
|
||||
required:
|
||||
- item
|
||||
operationId: get-enrollment-api-key
|
||||
delete:
|
||||
summary: Enrollment API Key - Delete
|
||||
|
@ -2613,22 +2618,6 @@ components:
|
|||
- api_key
|
||||
- active
|
||||
- created_at
|
||||
get_enrollment_api_keys_response:
|
||||
title: Bulk install packages response
|
||||
type: object
|
||||
properties:
|
||||
list:
|
||||
type: array
|
||||
deprecated: true
|
||||
properties:
|
||||
items:
|
||||
$ref: '#/components/schemas/enrollment_api_key'
|
||||
item:
|
||||
type: array
|
||||
items:
|
||||
$ref: '#/components/schemas/enrollment_api_key'
|
||||
required:
|
||||
- item
|
||||
upgrade_diff:
|
||||
title: Package policy Upgrade dryrun
|
||||
type: array
|
||||
|
|
|
@ -1,15 +0,0 @@
|
|||
title: Bulk install packages response
|
||||
type: object
|
||||
properties:
|
||||
list:
|
||||
type: array
|
||||
deprecated: true
|
||||
properties:
|
||||
items:
|
||||
$ref: ./enrollment_api_key.yaml
|
||||
item:
|
||||
type: array
|
||||
items:
|
||||
$ref: ./enrollment_api_key.yaml
|
||||
required:
|
||||
- item
|
|
@ -13,7 +13,12 @@ get:
|
|||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: ../components/schemas/get_enrollment_api_keys_response.yaml
|
||||
type: object
|
||||
properties:
|
||||
item:
|
||||
$ref: ../components/schemas/enrollment_api_key.yaml
|
||||
required:
|
||||
- item
|
||||
operationId: get-enrollment-api-key
|
||||
delete:
|
||||
summary: Enrollment API Key - Delete
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue