Skip to content

Commit d55e4f1

Browse files
committed
Remove swagger docs from repo
1 parent e812d97 commit d55e4f1

8 files changed

Lines changed: 10 additions & 6399 deletions

File tree

.dockerignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
misc
2+
.git

.github/workflows/checks.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ jobs:
3030
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
3131
with:
3232
go-version: '1.24'
33+
- name: Generate swagger
34+
run: go install github.com/swaggo/swag/cmd/swag@latest && swag init
3335
- name: Install dependencies
3436
run: go get .
3537
- name: Lint

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,4 @@ go.work.sum
2222

2323
misc/test-client-rust/target
2424
.vscode
25+
docs

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ FROM public.ecr.aws/docker/library/golang:1.24-bookworm as builder
33
WORKDIR /src
44
COPY . .
55

6+
RUN go install github.com/swaggo/swag/cmd/swag@latest
7+
8+
RUN swag init
69
RUN go build
710

811
FROM public.ecr.aws/docker/library/debian:bookworm-slim

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,12 @@ lint:
2525

2626
run:
2727
docker compose up -d postgres localstack
28+
swag init
2829
go run .
2930

3031
test:
3132
docker compose up -d postgres localstack
33+
swag init
3234
go test -p 1 -v ./...
3335

3436
# Run `go install github.com/air-verse/air@latest` to use this

0 commit comments

Comments
 (0)