File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -365,7 +365,7 @@ custom := param.Override[anthropic.FooParams](12)
365365
366366### Request unions
367367
368- Unions are represented as a struct with fields prefixed by "Of" for each of it's variants,
368+ Unions are represented as a struct with fields prefixed by "Of" for each of its variants,
369369only one field can be non-zero. The non-zero field will be serialized.
370370
371371Sub-properties of the union can be accessed via methods on the union struct.
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ package respjson
55// Use [Field.Valid] to check if an optional value was null or omitted.
66//
77// A Field will always occur in the following structure, where it
8- // mirrors the original field in it's parent struct:
8+ // mirrors the original field in its parent struct:
99//
1010// type ExampleObject struct {
1111// Foo bool `json:"foo"`
You can’t perform that action at this time.
0 commit comments