Skip to content

Commit

Permalink
Add missing field and use same summaries in Request Body Examples. (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
q-uint authored Jan 7, 2021
1 parent a50af3a commit 1f11d02
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions versions/3.1.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -1314,12 +1314,12 @@ content:
$ref: '#/components/schemas/User'
examples:
user:
summary: User Example in XML
summary: User example in XML
externalValue: 'https://foo.bar/examples/user-example.xml'
'text/plain':
examples:
user:
summary: User example in text plain format
summary: User example in Plain text
externalValue: 'https://foo.bar/examples/user-example.txt'
'*/*':
examples:
Expand All @@ -1332,6 +1332,7 @@ A body parameter that is an array of string values:
```json
{
"description": "user to add to the system",
"required": true,
"content": {
"text/plain": {
"schema": {
Expand Down

0 comments on commit 1f11d02

Please sign in to comment.