Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions buf/plugin/check/v1/annotation.proto
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,16 @@ message Annotation {
// this may reference the deleted FileDescriptor in against_file_descriptors, while file_location
// will not be present.
buf.plugin.descriptor.v1.FileLocation against_file_location = 4;
// A URL that provides more human-readable information about the rule in question.
//
// Optional.
string documentation_link = 5;
// An optional identifier that can help refine exactly how the rule was violated.
//
// Optional.
//
// Simple rules will probably not require this level of detail because it is obvious, but
// for more complex logic (such as checks involving external systems), it can be helpful to
// provide an identifier that narrows down why the rule failed.
string failure_code = 6;
}