Skip to content

Commit

Permalink
Remove API docs (#969)
Browse files Browse the repository at this point in the history
  • Loading branch information
aopoltorzhicky authored Mar 10, 2023
1 parent df8ee64 commit 2cf9420
Show file tree
Hide file tree
Showing 16 changed files with 0 additions and 10,198 deletions.
6 changes: 0 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,6 @@ test-api:
# npm install -g newman
newman run ./scripts/newman/tests.json -e ./scripts/newman/env.json

docs:
# wget https://github.com/swaggo/swag/releases/download/v1.8.4/swag_1.8.4_Linux_x86_64.tar.gz
# tar -zxvf swag_1.8.4_Linux_x86_64.tar.gz
# sudo cp swag /usr/bin/swag
cd cmd/api && swag init --parseDependency --parseInternal --parseDepth 2

stable:
TAG=master docker-compose up -d api indexer

Expand Down
2 changes: 0 additions & 2 deletions build/api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ COPY cmd/api cmd/api
COPY internal internal

WORKDIR $GOPATH/src/github.com/baking-bad/bcdhub/cmd/api/
RUN go install github.com/swaggo/swag/cmd/[email protected]
RUN swag init --parseDependency --parseInternal --parseDepth 2
RUN go build -a -installsuffix cgo -o /go/bin/api .

WORKDIR $GOPATH/src/github.com/baking-bad/bcdhub
Expand Down
Loading

0 comments on commit 2cf9420

Please sign in to comment.