-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
I wanted to make it easier for people to understand how to use the api-linter as a buf plugin, so I created an example project using the bookstore example.proto (Which embarrassingly fails linting) and added an explanation to the docs. I also updated some stale references and text in the docs which still referred to AIP pages.
- Loading branch information
1 parent
596d890
commit 3c3b820
Showing
6 changed files
with
641 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Buf | ||
buf.lock | ||
|
||
# Generated code | ||
gen/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
version: v2 | ||
managed: | ||
enabled: true | ||
plugins: | ||
- remote: buf.build/grpc/java:v1.69.0 | ||
out: gen | ||
# dependencies | ||
- remote: buf.build/protocolbuffers/java:v29.1 | ||
out: gen | ||
inputs: | ||
- directory: proto |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# For details on buf.yaml configuration, visit https://buf.build/docs/configuration/v2/buf-yaml | ||
version: v2 | ||
modules: | ||
- path: proto | ||
deps: | ||
- buf.build/googleapis/googleapis | ||
lint: | ||
use: | ||
- AEP | ||
plugins: | ||
- plugin: buf-plugin-aep | ||
|
Oops, something went wrong.