Skip to content

Commit

Permalink
gen swagger
Browse files Browse the repository at this point in the history
  • Loading branch information
chigusa committed Dec 9, 2019
1 parent c9864fc commit 6b6c7eb
Show file tree
Hide file tree
Showing 5 changed files with 503 additions and 1 deletion.
10 changes: 10 additions & 0 deletions Dockerfile_dev
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,16 @@ RUN dir=$GOPATH/src/$PROTOC_GEN_JSONIFY_REPO && \
rm -rf .git && \
go install ./

ENV PROTOC_GEN_SWAGGER_VERSION 1.12.1
ENV PROTOC_GEN_SWAGGER_REPO "github.com/grpc-ecosystem/grpc-gateway"
RUN dir=$GOPATH/src/$PROTOC_GEN_SWAGGER_REPO && \
mkdir -p $dir && \
git clone --branch v$PROTOC_GEN_SWAGGER_VERSION --depth 1 \
https://$PROTOC_GEN_SWAGGER_REPO $dir && \
cd $dir && \
rm -rf .git && \
cd protoc-gen-swagger && \
go install ./

### End Protobuf

Expand Down
1 change: 1 addition & 0 deletions docs/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ set -o nounset
dir=$(dirname $0)
pip install -r $dir/requirements.txt
mkdocs build -f $dir/mkdocs.yml
cp -R $dir/swagger $dir/site/
Loading

0 comments on commit 6b6c7eb

Please sign in to comment.