Skip to content

Commit 6563fea

Browse files
author
Phil Sturgeon
committed
examples not supported inside schema
1 parent 5bd02e1 commit 6563fea

File tree

1 file changed

+0
-26
lines changed

1 file changed

+0
-26
lines changed

versions/3.0.3.md

-26
Original file line numberDiff line numberDiff line change
@@ -1929,18 +1929,6 @@ validate compatibility automatically, and reject the example value(s) if incompa
19291929

19301930
##### Example Object Examples
19311931

1932-
In a model:
1933-
1934-
```yaml
1935-
schemas:
1936-
properties:
1937-
name:
1938-
type: string
1939-
examples:
1940-
name:
1941-
$ref: http://example.org/petapi-examples/openapi.json#/components/examples/name-example
1942-
```
1943-
19441932
In a request body:
19451933

19461934
```yaml
@@ -1968,20 +1956,6 @@ requestBody:
19681956
externalValue: 'http://foo.bar/examples/address-example.txt'
19691957
```
19701958

1971-
In a parameter:
1972-
1973-
```yaml
1974-
parameters:
1975-
- name: 'zipCode'
1976-
in: 'query'
1977-
schema:
1978-
type: 'string'
1979-
format: 'zip-code'
1980-
examples:
1981-
zip-example:
1982-
$ref: '#/components/examples/zip-example'
1983-
```
1984-
19851959
In a response:
19861960

19871961
```yaml

0 commit comments

Comments
 (0)