mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
[Fleet] Fix missing item in output openapi specs (#168938)
Fixes https://github.com/elastic/kibana/issues/167181 ## Summary Fix of Fleet openapi specs: `item` was mistakenly removed in the responses of these two endpoints: - GET /outputs/{outputId} - PUT /outputs/{outputId} Adding back the missing fields to align the actual behavior with the docs. ### Checklist - [ ] [Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html) was added for features that require explanation or tutorials
This commit is contained in:
parent
3c4a5977a1
commit
5c42b9f389
3 changed files with 28 additions and 6 deletions
|
@ -4573,7 +4573,12 @@
|
|||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/output_create_request"
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"item": {
|
||||
"$ref": "#/components/schemas/output_create_request"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -4650,7 +4655,12 @@
|
|||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/output_update_request"
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"item": {
|
||||
"$ref": "#/components/schemas/output_update_request"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2853,7 +2853,10 @@ paths:
|
|||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/output_create_request'
|
||||
type: object
|
||||
properties:
|
||||
item:
|
||||
$ref: '#/components/schemas/output_create_request'
|
||||
'400':
|
||||
$ref: '#/components/responses/error'
|
||||
operationId: get-output
|
||||
|
@ -2900,7 +2903,10 @@ paths:
|
|||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/output_update_request'
|
||||
type: object
|
||||
properties:
|
||||
item:
|
||||
$ref: '#/components/schemas/output_update_request'
|
||||
'400':
|
||||
$ref: '#/components/responses/error'
|
||||
parameters:
|
||||
|
|
|
@ -8,7 +8,10 @@ get:
|
|||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: ../components/schemas/output_create_request.yaml
|
||||
type: object
|
||||
properties:
|
||||
item:
|
||||
$ref: ../components/schemas/output_create_request.yaml
|
||||
'400':
|
||||
$ref: ../components/responses/error.yaml
|
||||
operationId: get-output
|
||||
|
@ -55,7 +58,10 @@ put:
|
|||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: ../components/schemas/output_update_request.yaml
|
||||
type: object
|
||||
properties:
|
||||
item:
|
||||
$ref: ../components/schemas/output_update_request.yaml
|
||||
'400':
|
||||
$ref: ../components/responses/error.yaml
|
||||
parameters:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue