Skip to content

Commit fef4d00

Browse files
author
Ron
authored
Merge pull request OAI#1191 from krishahn/tag-object-examples
edit Tag Object Examples
2 parents a07cf91 + 7065b9e commit fef4d00

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

versions/3.0.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2338,15 +2338,15 @@ description: Pets operations
23382338

23392339
#### <a name="examplesObject"></a>Examples Object
23402340

2341-
Anywhere an `example` may be given, a JSON Reference MAY be used, with the
2341+
In an `example`, a JSON Reference MAY be used, with the
23422342
explicit restriction that examples having a JSON format with object named
2343-
`$ref` are not allowed. This does mean that `example`, structurally, can be
2343+
`$ref` are not allowed. Therefore, that `example`, structurally, can be
23442344
either a string primitive or an object, similar to `additionalProperties`.
23452345

23462346
In all cases, the payload is expected to be compatible with the type schema
2347-
for the value that it is accompanying. Tooling implementations MAY choose to
2347+
for the associated value. Tooling implementations MAY choose to
23482348
validate compatibility automatically, and reject the example value(s) if they
2349-
are not compatible.
2349+
are incompatible.
23502350

23512351
```yaml
23522352
# in a model

0 commit comments

Comments
 (0)