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
887903b6
Unverified
Commit
887903b6
authored
Jan 27, 2024
by
Lincoln Nogueira
Committed by
GitHub
Jan 27, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: add buf plugin to generate openapiv2 spec (#2843)
parent
309fab22
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2116 additions
and
0 deletions
+2116
-0
v2.swagger.yaml
api/v2/v2.swagger.yaml
+2113
-0
buf.gen.yaml
proto/buf.gen.yaml
+3
-0
No files found.
api/v2/v2.swagger.yaml
0 → 100644
View file @
887903b6
This diff is collapsed.
Click to expand it.
proto/buf.gen.yaml
View file @
887903b6
...
@@ -18,6 +18,9 @@ plugins:
...
@@ -18,6 +18,9 @@ plugins:
out
:
gen
out
:
gen
opt
:
opt
:
-
paths=source_relative
-
paths=source_relative
-
plugin
:
buf.build/grpc-ecosystem/openapiv2:v2.19.0
out
:
../api/v2/
opt
:
output_format=yaml,allow_merge=true,merge_file_name=v2
# 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
out
:
../web/src/types/proto
out
:
../web/src/types/proto
...
...
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