Skip to content

Commit

Permalink
feat: Added json schema generation (#1398)
Browse files Browse the repository at this point in the history
* added json schema generation

Signed-off-by: daniel-codefresh <daniel.soifer@codefresh.io>

* feat: Added json schema generation

Signed-off-by: daniel-codefresh <daniel.soifer@codefresh.io>
  • Loading branch information
daniel-codefresh committed Oct 28, 2021
1 parent e472dae commit 5212bad
Show file tree
Hide file tree
Showing 3 changed files with 6,931 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,10 @@ manifests: crds
.PHONY: swagger
swagger:
./hack/update-swagger.sh ${VERSION}
$(MAKE) api/jsonschema/schema.json

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

.PHONY: codegen
codegen:
Expand Down

0 comments on commit 5212bad

Please sign in to comment.