Skip to content

Commit

Permalink
docs: Add JSON schema for IDE validation (argoproj#4581)
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Brabban <[email protected]>
  • Loading branch information
brabster committed Nov 24, 2020
1 parent ef779bb commit 99240ad
Show file tree
Hide file tree
Showing 20 changed files with 6,096 additions and 34 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,7 @@ codegen: \
manifests/base/crds/full/argoproj.io_workflows.yaml \
manifests/install.yaml \
api/openapi-spec/swagger.json \
api/jsonschema/schema.json \
docs/fields.md \
docs/cli/argo.md \
$(GOPATH)/bin/mockery
Expand Down Expand Up @@ -523,6 +524,9 @@ api/openapi-spec/swagger.json: $(GOPATH)/bin/swagger dist/kubeified.swagger.json
swagger validate api/openapi-spec/swagger.json
go test ./api/openapi-spec

api/jsonschema/schema.json: api/openapi-spec/swagger.json hack/jsonschema/main.go
go run ./hack/jsonschema

go-diagrams/diagram.dot: ./hack/diagram/main.go
rm -Rf go-diagrams
go run ./hack/diagram
Expand Down
Loading

0 comments on commit 99240ad

Please sign in to comment.