Skip to content

Commit b55760e

Browse files
committed
fix: restructure openapi schema
1 parent 6550893 commit b55760e

28 files changed

+1035
-1092
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
openapi/out/*

Makefile

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
SHELL = /bin/bash
2+
DEV_IMG := openapitools/openapi-generator-cli:latest
3+
4+
.PHONY: help
5+
help: ## this help
6+
@grep -e '^[a-zA-Z%_-]\+:.*##' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*##"}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
7+
8+
.PHONY: clean
9+
clean: ## Clean
10+
@echo "Clean"
11+
rm -rf openapi/out
12+
13+
.PHONY: build
14+
build-%: ## Build build-<generator> [typescript-node, kotlin, swift6, etc]
15+
@echo "Build"
16+
docker run -it --rm \
17+
-v $(PWD)/openapi:/local \
18+
$(DEV_IMG) generate \
19+
-i /local/v1/ccn-coverage-api.yaml \
20+
-g "$*" \
21+
-o "/local/out/$*"

0 commit comments

Comments
 (0)