johanbrandhorst / grpc-gateway-boilerplate

All the boilerplate you need to get started with writing grpc-gateway powered REST services in Go
MIT License
474 stars 81 forks source link

'SWAGGER_UI_VERSION' is not recognized as an internal or external command, operable program or batch file. #47

Closed arsalan-menhaj closed 1 week ago

arsalan-menhaj commented 1 week ago

Hello,

I've cloned this repo, entered the root directory and run make generate.

This produces the following error: go run github.com/bufbuild/buf/cmd/buf@v1.17.0 generate SWAGGER_UI_VERSION=v4.15.5 ./scripts/generate-swagger-ui.sh 'SWAGGER_UI_VERSION' is not recognized as an internal or external command, operable program or batch file. make: *** [Makefile:8: generate/swagger-ui] Error 1

Please note that I have not changed any file/directory names.. Thanks in advance!

arsalan-menhaj commented 1 week ago

My mistake, it was a shell script and could only be run on linux.