Skip to content

Commit 6a7fa4b

Browse files
committed
Merge remote-tracking branch 'origin/main' into async-search-query-parameters
2 parents 50c3190 + 71e3fa5 commit 6a7fa4b

File tree

8 files changed

+159
-92
lines changed

8 files changed

+159
-92
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,5 +233,6 @@ dist/* binary
233233
### Linguist Overrides #############################################################################
234234

235235
output/** linguist-generated=true
236+
output/schema/validation-errors.json linguist-generated=false
236237

237238
####################################################################################################

compiler/src/steps/validate-rest-spec.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,8 @@ export default async function validateRestSpec (model: model.Model, jsonSpec: Ma
9797
}
9898
}
9999

100-
if (spec.params != null) {
100+
// fleet API are deliberately undocumented in rest-api-spec)
101+
if (spec.params != null && !endpoint.name.startsWith('fleet.')) {
101102
const params = Object.keys(spec.params)
102103
const queryProperties = requestProperties.query.map(property => property.name)
103104
// are all the parameters in the request definition present in the json spec?

output/openapi/elasticsearch-openapi.json

Lines changed: 33 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/schema-serverless.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/schema.json

Lines changed: 99 additions & 28 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)