Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove API docs #969

Merged
merged 1 commit into from
Mar 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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