Skip to content

Commit 08db1d1

Browse files
authored
Adds a required type tag to the open API spec of Logstash APIs. (#18169)
* Add required for the queue.type of PipelineQueueStats in openapi spec definition.
1 parent 25c2551 commit 08db1d1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/static/spec/openapi/logstash-api.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2296,6 +2296,8 @@ components:
22962296
oneOf:
22972297
- type: object
22982298
description: "The metrics of persisted queue."
2299+
required:
2300+
- type
22992301
properties:
23002302
type:
23012303
type: string
@@ -2340,6 +2342,8 @@ components:
23402342
format: int64
23412343
- type: object
23422344
description: "The metrics of memory queue."
2345+
required:
2346+
- type
23432347
properties:
23442348
type:
23452349
type: string

0 commit comments

Comments
 (0)