From 0bca3a91451a866c35e90d36d66295157c598259 Mon Sep 17 00:00:00 2001 From: Quint Daenen Date: Fri, 2 Oct 2020 14:15:25 +0200 Subject: [PATCH] Add missing field and use same summaries in Request Body Examples. --- versions/3.1.0.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/versions/3.1.0.md b/versions/3.1.0.md index dbdecaa4ea..dc6dcc734e 100644 --- a/versions/3.1.0.md +++ b/versions/3.1.0.md @@ -1312,12 +1312,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: @@ -1330,6 +1330,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": {