Skip to content

Commit

Permalink
Generate README for the API
Browse files Browse the repository at this point in the history
  • Loading branch information
mostafa committed Nov 11, 2023
1 parent 3f8bf3b commit 7aaaab3
Show file tree
Hide file tree
Showing 2 changed files with 200 additions and 0 deletions.
192 changes: 192 additions & 0 deletions api/v1/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions buf.gen.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,23 @@
version: v1
plugins:
# Generate Go code for the gRPC service.
- name: go-grpc
out: .
opt: paths=source_relative
# Generate Go code for messages.
- name: go
out: .
opt: paths=source_relative
# Generate Go code for the HTTP gateway service for the gRPC service.
- name: grpc-gateway
out: .
opt:
- paths=source_relative
- generate_unbound_methods=true
# Generate OpenAPI v2 specs for the HTTP gateway service.
- name: openapiv2
out: .
# Generate the API documentation in Markdown format.
- plugin: buf.build/community/pseudomuto-doc
out: api/v1
opt: markdown,README.md

0 comments on commit 7aaaab3

Please sign in to comment.