Skip to content

Commit 6df11eb

Browse files
char0nralfhandl
authored andcommitted
Update src/oas.md
Co-authored-by: Ralf Handl <[email protected]>
1 parent b25ecf1 commit 6df11eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/oas.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2606,7 +2606,7 @@ Each of these fields has slightly different considerations.
26062606
The Schema Object's fields are used to show example values without regard to how they might be formatted as parameters or within media type representations.
26072607
The `examples` array is part of JSON Schema and is the preferred way to include examples in the Schema Object, while `example` is retained purely for compatibility with older versions of the OpenAPI Specification.
26082608

2609-
The mutually exclusive fields in the Parameter, Header or Media Type Objects are used to show example values which SHOULD both match the schema and be formatted as they would appear as a serialized parameter or within a media type representation.
2609+
The mutually exclusive fields in the Parameter, Header, or Media Type Objects are used to show example values which SHOULD both match the schema and be formatted as they would appear as a serialized parameter or within a media type representation.
26102610
The exact serialization and encoding is determined by various fields in the Parameter Object, Header Object, or in the Media Type Object's [Encoding Object](#encoding-object).
26112611
Because examples using these fields represent the final serialized form of the data, they SHALL _override_ any `example` in the corresponding Schema Object.
26122612

0 commit comments

Comments
 (0)