Skip to content

Commit 1729fb1

Browse files
authored
remove swagger json files (#86)
Having output formats yaml (for viewing in swagger preview without running code) and go (serving swagger docs from the running service) is sufficient.
1 parent 0b05be6 commit 1729fb1

3 files changed

Lines changed: 2 additions & 612 deletions

File tree

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ generate-code: # create mocks
1919

2020
.PHONY: api-docs
2121
api-docs:
22-
go run $(SWAG) init -d pkg/web --exclude pkg/web/healthcontroller -o api/notificationservice --parseDependency --generalInfo api.go --instanceName notificationservice
23-
go run $(SWAG) init -d pkg/web/healthcontroller -o api/health --parseDependency --generalInfo api.go --instanceName health
22+
go run $(SWAG) init -d pkg/web --exclude pkg/web/healthcontroller -o api/notificationservice --parseDependency --generalInfo api.go --outputTypes yaml,go --instanceName notificationservice
23+
go run $(SWAG) init -d pkg/web/healthcontroller -o api/health --parseDependency --generalInfo api.go --outputTypes yaml,go --instanceName health
2424

2525
.PHONY: build
2626
build:

api/health/health_swagger.json

Lines changed: 0 additions & 63 deletions
This file was deleted.

0 commit comments

Comments
 (0)