From 8491238d128dc5e987859a825bcf66c0ce5db2fc Mon Sep 17 00:00:00 2001 From: Asim Aslam Date: Mon, 17 May 2021 15:57:31 +0100 Subject: [PATCH] Fix make docs --- url/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/url/Makefile b/url/Makefile index f7fc2b0..c7557b8 100644 --- a/url/Makefile +++ b/url/Makefile @@ -13,6 +13,11 @@ proto: build: go build -o url *.go +.PHONY: docs +docs: + protoc --openapi_out=. --proto_path=. --micro_out=. --go_out=:. proto/url.proto + @redoc-cli bundle api-url.json + .PHONY: test test: go test -v ./... -cover