From 6f198ed0ee736f1612f869324723828abc56e67d Mon Sep 17 00:00:00 2001 From: Darrel Date: Thu, 1 Jun 2017 18:44:31 -0400 Subject: [PATCH 1/2] Added map constraint for parameter content property --- versions/3.0.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/versions/3.0.md b/versions/3.0.md index 68610aee01..112766cd25 100644 --- a/versions/3.0.md +++ b/versions/3.0.md @@ -993,7 +993,7 @@ When `example` or `examples` are provided in conjunction with the `schema` objec Field Name | Type | Description ---|:---:|--- -content | Map[`string`, [Media Type Object](#mediaTypeObject)] | An map containing the representations for the parameter. The key is the media type and the value is used to describe it. +content | Map[`string`, [Media Type Object](#mediaTypeObject)] | An map containing the representations for the parameter. The key is the media type and the value is used to describe it. The map MUST only contain one entry. ##### Style Values From 48b0c953c178bcc56c33c4f1e34d4d4664cebec4 Mon Sep 17 00:00:00 2001 From: "Rob Dolin (MSFT)" Date: Fri, 9 Jun 2017 09:38:36 -0700 Subject: [PATCH 2/2] An map to A map --- versions/3.0.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/versions/3.0.md b/versions/3.0.md index 112766cd25..c6b0bd2b4f 100644 --- a/versions/3.0.md +++ b/versions/3.0.md @@ -993,7 +993,7 @@ When `example` or `examples` are provided in conjunction with the `schema` objec Field Name | Type | Description ---|:---:|--- -content | Map[`string`, [Media Type Object](#mediaTypeObject)] | An map containing the representations for the parameter. The key is the media type and the value is used to describe it. The map MUST only contain one entry. +content | Map[`string`, [Media Type Object](#mediaTypeObject)] | A map containing the representations for the parameter. The key is the media type and the value is used to describe it. The map MUST only contain one entry. ##### Style Values @@ -1595,7 +1595,7 @@ Field Name | Type | Description ---|:---:|--- description | `string` | **Required.** A short description of the response. [CommonMark syntax](http://spec.commonmark.org/) can be used for rich text representation. headers | Map[`string`, [Header Object](#headerObject) \| [Reference Object](#referenceObject)] | Maps a header name to its definition. Note that [RFC7230](https://tools.ietf.org/html/rfc7230#page-22) states header names are case insensitive. If a response header is defined with the name `"Content-Type"`, it SHALL be ignored. -content | Map[`string`, [Media Type Object](#mediaTypeObject)] | An map containing descriptions of potential response payloads. The key is the media type and the value is used to describe it. +content | Map[`string`, [Media Type Object](#mediaTypeObject)] | A map containing descriptions of potential response payloads. The key is the media type and the value is used to describe it. links | Map[`string`, [Link Object](#linkObject) \| [Reference Object](#referenceObject)] | A map of operations links that can be followed from the response. The key of the map is a short name for the link, following the naming constraints of the names for [Component Objects](#componentsObject). This object can be extended with [Specification Extensions](#specificationExtensions).