Skip to content

Commit dcfb2b7

Browse files
committed
chore: tweak docs generate path
1 parent ebcf43c commit dcfb2b7

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

proto/buf.gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ plugins:
1919
opt:
2020
- paths=source_relative
2121
- plugin: buf.build/grpc-ecosystem/openapiv2:v2.19.0
22-
out: ../api/v2/
22+
out: ../server/route/api/v2/
2323
opt: output_format=yaml,allow_merge=true
2424
# Build the TypeScript definitions for the web.
2525
- plugin: buf.build/community/stephenh-ts-proto:v1.152.1

scripts/gen-api-v1-docs.cfg

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# This file is used by gen-api-v1-docs.ps1 and gen-api-v1-docs.sh
22

33
# You should list aditional dirs here if the API grows
4-
SWAG_API_DIRS=./api/v1
4+
SWAG_API_DIRS=./server/route/api/v1
55

66
# Where general API info is documented
7-
SWAG_GENERAL_INFO=./api/v1/v1.go
7+
SWAG_GENERAL_INFO=./server/route/api/v1/v1.go
88

99
# Possible output files: go (docs.go), json (swagger.json), yaml (swagger.yaml)
1010
SWAG_OUTPUT_TYPES=go,yaml
1111

1212
# Where generated files are outputted
13-
SWAG_OUTPUT=./api/v1
13+
SWAG_OUTPUT=./server/route/api/v1

0 commit comments

Comments
 (0)