Skip to content

Commit

Permalink
Add validation for OpenAPI 3
Browse files Browse the repository at this point in the history
  • Loading branch information
lindenmckenzie committed Oct 15, 2024
1 parent 1adf2f4 commit 4fb92fb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ test-component: ## Runs component test suite
.PHONY: validate-specification
validate-specification: ## Validates specification
asyncapi validate specification.yml
redocly lint ./docs/contract/upstream.yml

.PHONY: help
help: ## Show help page for list of make targets
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ To run `make validate-specification` you require Node v20.x and to install @asyn

```sh
npm install -g @asyncapi/cli
npm install -g @redocly/cli
```

### Configuration
Expand Down
1 change: 1 addition & 0 deletions ci/scripts/lint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ pushd dp-search-data-extractor
go install github.com/golangci/golangci-lint/cmd/[email protected]
make lint
npm install -g @asyncapi/cli
npm install -g @redocly/cli
make validate-specification
popd

0 comments on commit 4fb92fb

Please sign in to comment.