Skip to content

Commit a861376

Browse files
jpluscplusmmyitcv
authored andcommitted
encoding/openapi: link to correct upstream doc
This updates two links in the encoding/openapi package documentation to reflect a change in a third-party's default git branch name, and a different HTML fragment identifier used by their reference documentation. Signed-off-by: Jonathan Matthews <[email protected]> Change-Id: Ie566aee5092eba91ca34e5a38f5968dffacfc1ce Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1194552 Reviewed-by: Paul Jolly <[email protected]> TryBot-Result: CUEcueckoo <[email protected]>
1 parent eacde77 commit a861376

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

encoding/openapi/doc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@
1717
//
1818
// It currently handles OpenAPI Schema components only.
1919
//
20-
// See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#schemaObject.
20+
// See https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.0.md#schema-object
2121
package openapi

encoding/openapi/types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import (
2525
"cuelang.org/go/cue/token"
2626
)
2727

28-
// See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#data-types
28+
// See https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.0.md#data-types
2929
var cueToOpenAPI = map[string]string{
3030
"int32": "int32",
3131
"int64": "int64",

0 commit comments

Comments
 (0)