diff --git a/Makefile b/Makefile index 4d02d12..6b3195a 100644 --- a/Makefile +++ b/Makefile @@ -36,7 +36,7 @@ install: ## Install the binary to $GOPATH/bin run: build ## Build and run with example API file @echo "Running $(BINARY_NAME)..." - @$(BUILD_DIR)/$(BINARY_NAME) -a example/example.api -d example/test_output + @$(BUILD_DIR)/$(BINARY_NAME) -a example/multiple.api -d example/test_output -f example_cn_openapi3 -s openapi3.0 @echo "✅ Generated: example/test_output/example.json" fmt: ## Format code diff --git a/example/multiple.api b/example/multiple.api new file mode 100644 index 0000000..8460436 --- /dev/null +++ b/example/multiple.api @@ -0,0 +1,3 @@ +syntax = "v1" + +import "example_respdoc.api" \ No newline at end of file