Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
canifa_note
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vũ Hoàng Anh
canifa_note
Commits
dcfb2b7d
Commit
dcfb2b7d
authored
Mar 03, 2024
by
Steven
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: tweak docs generate path
parent
ebcf43c9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
buf.gen.yaml
proto/buf.gen.yaml
+1
-1
gen-api-v1-docs.cfg
scripts/gen-api-v1-docs.cfg
+3
-3
No files found.
proto/buf.gen.yaml
View file @
dcfb2b7d
...
@@ -19,7 +19,7 @@ plugins:
...
@@ -19,7 +19,7 @@ plugins:
opt
:
opt
:
-
paths=source_relative
-
paths=source_relative
-
plugin
:
buf.build/grpc-ecosystem/openapiv2:v2.19.0
-
plugin
:
buf.build/grpc-ecosystem/openapiv2:v2.19.0
out
:
../api/v2/
out
:
../
server/route/
api/v2/
opt
:
output_format=yaml,allow_merge=true
opt
:
output_format=yaml,allow_merge=true
# Build the TypeScript definitions for the web.
# Build the TypeScript definitions for the web.
-
plugin
:
buf.build/community/stephenh-ts-proto:v1.152.1
-
plugin
:
buf.build/community/stephenh-ts-proto:v1.152.1
...
...
scripts/gen-api-v1-docs.cfg
View file @
dcfb2b7d
# This file is used by gen-api-v1-docs.ps1 and gen-api-v1-docs.sh
# This file is used by gen-api-v1-docs.ps1 and gen-api-v1-docs.sh
# You should list aditional dirs here if the API grows
# You should list aditional dirs here if the API grows
SWAG_API_DIRS=./api/v1
SWAG_API_DIRS=./
server/route/
api/v1
# Where general API info is documented
# Where general API info is documented
SWAG_GENERAL_INFO=./api/v1/v1.go
SWAG_GENERAL_INFO=./
server/route/
api/v1/v1.go
# Possible output files: go (docs.go), json (swagger.json), yaml (swagger.yaml)
# Possible output files: go (docs.go), json (swagger.json), yaml (swagger.yaml)
SWAG_OUTPUT_TYPES=go,yaml
SWAG_OUTPUT_TYPES=go,yaml
# Where generated files are outputted
# Where generated files are outputted
SWAG_OUTPUT=./api/v1
SWAG_OUTPUT=./
server/route/
api/v1
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment