Skip to content

Commit a13998b

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add spectral rule for validating no unnamed objects in lists (#1314)
Co-authored-by: ci.datadog-api-spec <[email protected]> Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
1 parent 3678069 commit a13998b

File tree

2 files changed

+17
-15
lines changed

2 files changed

+17
-15
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.5",
7-
"regenerated": "2023-09-06 15:59:29.547470",
8-
"spec_repo_commit": "f65a8312"
7+
"regenerated": "2023-09-07 17:53:33.982832",
8+
"spec_repo_commit": "40dbfff2"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.5",
12-
"regenerated": "2023-09-06 15:59:29.560411",
13-
"spec_repo_commit": "f65a8312"
12+
"regenerated": "2023-09-07 17:53:34.002520",
13+
"spec_repo_commit": "40dbfff2"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6901,18 +6901,20 @@ components:
69016901
MonitorSearchCount:
69026902
description: Search facets.
69036903
items:
6904-
description: A facet item.
6905-
properties:
6906-
count:
6907-
description: The number of found monitors with the listed value.
6908-
format: int64
6909-
readOnly: true
6910-
type: integer
6911-
name:
6912-
description: The facet value.
6913-
readOnly: true
6914-
type: object
6904+
$ref: '#/components/schemas/MonitorSearchCountItem'
69156905
type: array
6906+
MonitorSearchCountItem:
6907+
description: A facet item.
6908+
properties:
6909+
count:
6910+
description: The number of found monitors with the listed value.
6911+
format: int64
6912+
readOnly: true
6913+
type: integer
6914+
name:
6915+
description: The facet value.
6916+
readOnly: true
6917+
type: object
69166918
MonitorSearchResponse:
69176919
description: The response form a monitor search.
69186920
example:

0 commit comments

Comments
 (0)