From 0f2e37ecc01938791e1b810bc0c78b462051e2d4 Mon Sep 17 00:00:00 2001 From: Asim Aslam Date: Sat, 22 May 2021 22:02:25 +0100 Subject: [PATCH] update thumbnail proto --- thumbnail/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/thumbnail/Makefile b/thumbnail/Makefile index b5ee02d..8520d9a 100644 --- a/thumbnail/Makefile +++ b/thumbnail/Makefile @@ -5,6 +5,10 @@ init: go get -u github.com/golang/protobuf/proto go get -u github.com/golang/protobuf/protoc-gen-go go get github.com/micro/micro/v3/cmd/protoc-gen-micro + +.PHONY: api +api: + protoc --openapi_out=. --proto_path=. proto/thumbnail.proto .PHONY: proto proto: protoc --proto_path=. --micro_out=. --go_out=:. proto/thumbnail.proto