Skip to content

Commit 2fd3d49

Browse files
Regenerate openapi3.txt API docs for Origin EndLine/EndColumn
1 parent 6b22af7 commit 2fd3d49

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/docs/openapi3.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1331,6 +1331,13 @@ type Location struct {
13311331
Line int `json:"line,omitempty" yaml:"line,omitempty"`
13321332
Column int `json:"column,omitempty" yaml:"column,omitempty"`
13331333
Name string `json:"name,omitempty" yaml:"name,omitempty"`
1334+
1335+
// EndLine and EndColumn mark the end of the block this location heads (set
1336+
// only on Origin.Key). For an operation or schema this spans the whole
1337+
// block, so a consumer can extract the entire element from its source.
1338+
// Both are zero when the underlying YAML carried no end information.
1339+
EndLine int `json:"endLine,omitempty" yaml:"endLine,omitempty"`
1340+
EndColumn int `json:"endColumn,omitempty" yaml:"endColumn,omitempty"`
13341341
}
13351342
Location is a struct that contains the location of a field.
13361343

0 commit comments

Comments
 (0)