Skip to content

Commit 445ff55

Browse files
authored
Update links to the documentation in validate.proto (#370)
1 parent 7f51582 commit 445ff55

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

proto/protovalidate/buf/validate/validate.proto

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ extend google.protobuf.FieldOptions {
7676
// `Rule` represents a validation rule written in the Common Expression
7777
// Language (CEL) syntax. Each Rule includes a unique identifier, an
7878
// optional error message, and the CEL expression to evaluate. For more
79-
// information on CEL, [see our documentation](https://github.com/bufbuild/protovalidate/blob/main/docs/cel.md).
79+
// information, [see our documentation](https://buf.build/docs/protovalidate/schemas/custom-rules/).
8080
//
8181
// ```proto
8282
// message Foo {
@@ -121,8 +121,8 @@ message MessageRules {
121121
optional bool disabled = 1;
122122

123123
// `cel` is a repeated field of type Rule. Each Rule specifies a validation rule to be applied to this message.
124-
// These rules are written in Common Expression Language (CEL) syntax. For more information on
125-
// CEL, [see our documentation](https://github.com/bufbuild/protovalidate/blob/main/docs/cel.md).
124+
// These rules are written in Common Expression Language (CEL) syntax. For more information,
125+
// [see our documentation](https://buf.build/docs/protovalidate/schemas/custom-rules/).
126126
//
127127
//
128128
// ```proto
@@ -166,8 +166,8 @@ message OneofRules {
166166
// the field, the correct set should be used to ensure proper validations.
167167
message FieldRules {
168168
// `cel` is a repeated field used to represent a textual expression
169-
// in the Common Expression Language (CEL) syntax. For more information on
170-
// CEL, [see our documentation](https://github.com/bufbuild/protovalidate/blob/main/docs/cel.md).
169+
// in the Common Expression Language (CEL) syntax. For more information,
170+
// [see our documentation](https://buf.build/docs/protovalidate/schemas/custom-rules/).
171171
//
172172
// ```proto
173173
// message MyMessage {
@@ -251,8 +251,8 @@ message FieldRules {
251251
// multiple fields.
252252
message PredefinedRules {
253253
// `cel` is a repeated field used to represent a textual expression
254-
// in the Common Expression Language (CEL) syntax. For more information on
255-
// CEL, [see our documentation](https://github.com/bufbuild/protovalidate/blob/main/docs/cel.md).
254+
// in the Common Expression Language (CEL) syntax. For more information,
255+
// [see our documentation](https://buf.build/docs/protovalidate/schemas/predefined-rules/).
256256
//
257257
// ```proto
258258
// message MyMessage {

tools/internal/gen/buf/validate/validate.pb.go

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)