Skip to content

Commit

Permalink
Validate generation more extensively (#2662)
Browse files Browse the repository at this point in the history
  • Loading branch information
pquentin authored Jul 1, 2024
1 parent 899769d commit 5b0f7b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/validate-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
- name: Generate specification and check generated types
working-directory: ./elasticsearch-specification
run: |
make generate
make contrib
- name: Download artifacts
working-directory: ./clients-flight-recorder
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ filter-for-serverless: ## Generate the serverless version from the compiled sche
dump-routes: ## Create a new schema with all generics expanded
@npm run dump-routes --prefix compiler

contrib: | generate license-check spec-format-fix transform-to-openapi ## Pre contribution target
contrib: | generate license-check spec-format-fix transform-to-openapi filter-for-serverless ## Pre contribution target

lint-docs: ## Lint the OpenAPI documents
@npx @stoplight/spectral-cli lint output/openapi/*.json --ruleset .spectral.yaml
Expand Down

0 comments on commit 5b0f7b3

Please sign in to comment.