Skip to content

Commit b94426f

Browse files
committed
Lint default output files
1 parent 9487b51 commit b94426f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ overlay-docs: ## Apply overlays to OpenAPI documents
6868
rm output/openapi/elasticsearch-openapi.tmp*.json
6969

7070
lint-docs: ## Lint the OpenAPI documents after overlays
71-
@npx @redocly/cli lint "output/openapi/elasticsearch-*.examples.json" --config "docs/linters/redocly.yaml" --format stylish --max-problems 500
71+
@npx @redocly/cli lint "output/openapi/elasticsearch-*.json" --config "docs/linters/redocly.yaml" --format stylish --max-problems 500
7272

7373
lint-docs-stateful: ## Lint only the elasticsearch-openapi.examples.json file
7474
@npx @redocly/cli lint "output/openapi/elasticsearch-openapi.examples.json" --config "docs/linters/redocly.yaml" --format stylish --max-problems 500

docs/linters/redocly.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ rules:
3838
struct: error
3939
spec-components-invalid-map-name: off
4040
spec-strict-refs: off
41+
security-defined: off
4142
# Tags
4243
operation-tag-defined: off
4344
tags-alphabetical: off

0 commit comments

Comments
 (0)