File tree Expand file tree Collapse file tree 2 files changed +12
-15
lines changed Expand file tree Collapse file tree 2 files changed +12
-15
lines changed Original file line number Diff line number Diff line change @@ -1702,11 +1702,9 @@ components:
1702
1702
type : string
1703
1703
description : A unique identifier for the ephemeral session of the Logstash instance.
1704
1704
snapshot :
1705
- type : boolean
1706
- nullable : true
1705
+ type : [boolean, 'null']
1707
1706
status :
1708
1707
$ref : ' #/components/schemas/Status'
1709
-
1710
1708
PipelineSettings :
1711
1709
type : object
1712
1710
properties :
@@ -2217,19 +2215,16 @@ components:
2217
2215
type : object
2218
2216
properties :
2219
2217
last_error :
2220
- type : string
2221
- nullable : true
2218
+ type : [ string, 'null']
2222
2219
successes :
2223
2220
type : integer
2224
2221
format : int64
2225
2222
last_success_timestamp :
2226
- type : string
2223
+ type : [ string, 'null']
2227
2224
format : date-time
2228
- nullable : true
2229
2225
last_failure_timestamp :
2230
- type : string
2226
+ type : [ string, 'null']
2231
2227
format : date-time
2232
- nullable : true
2233
2228
failures :
2234
2229
type : integer
2235
2230
format : int64
Original file line number Diff line number Diff line change @@ -26,15 +26,10 @@ rules:
26
26
# Paths
27
27
no-ambiguous-paths : warn
28
28
no-identical-paths : error
29
- path-excludes-patterns :
30
- severity : error
31
- patterns :
32
- - ^\/internal
33
29
# Responses
34
30
operation-4xx-response : off
35
31
operation-2xx-response : off
36
32
# Schema
37
- spec : off
38
33
spec-strict-refs : off
39
34
# Tags
40
35
operation-tag-defined : off
@@ -49,4 +44,11 @@ rules:
49
44
severity : warn
50
45
assertions :
51
46
maxLength : 45
52
- minLength : 5
47
+ minLength : 5
48
+ rule/path-exclude-pattern :
49
+ subject :
50
+ type : Paths
51
+ message : Do not include internal APIs
52
+ assertions :
53
+ notPattern : ^\/internal
54
+ severity : error
You can’t perform that action at this time.
0 commit comments