Skip to content

Commit 417aaea

Browse files
committed
misc fixes
1 parent fa603c0 commit 417aaea

File tree

1 file changed

+4
-19
lines changed

1 file changed

+4
-19
lines changed

versions/3.0.md

Lines changed: 4 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Additional utilities can also take advantage of the resulting files, such as tes
4848
- [Responses Object](#responsesObject)
4949
- [Response Object](#responseObject)
5050
- [Headers Object](#headersObject)
51-
- [Examples Object](#examplesObject)
51+
- [Example Object](#exampleObject)
5252
- [Links Object](#linksObject)
5353
- [Link Object](#linkObject)
5454
- [Link Parameters Object](#linkParametersObject)
@@ -397,7 +397,7 @@ All objects defined within the components object will have no effect on the API
397397

398398
##### Fixed Fields
399399

400-
Field Pattern | Type | Description
400+
Field Name | Type | Description
401401
---|:---|---
402402
<a name="componentsSchemas"></a> schemas | Map[`string`, [Schema Object](#schemaObject)] | An object to hold reusable [Schema Objects](#schemaObject).
403403
<a name="componentsResponses"></a> responses | Map[`string`, [Response Object](#responseObject)] | An object to hold reusable [Response Objects](#responseObject).
@@ -1109,12 +1109,7 @@ Field Name | Type | Description
11091109
<a name="requestBodyRequired"></a>required | `boolean` | Determines if the request body is required in the request. Defaults to `true`.
11101110

11111111

1112-
##### Patterned Fields
1113-
Field Pattern | Type | Description
1114-
---|:---:|---
1115-
<a name="requestBodyRepresentation"></a>`*` | [Schema Object](#schemaObject) <span>&#124;</span> [Reference Object](#referenceObject)] | The schema defining the request body.
1116-
<a name="parameterExtensions"></a>^x- | Any | Allows extensions to the OpenAPI Schema. The field name MUST begin with `x-`, for example, `x-internal-id`. The value can be `null`, a primitive, an array or an object. See [Specification Extensions](#specificationExtensions) for further details.
1117-
1112+
This object can be extended with [Specification Extensions](#specificationExtensions).
11181113

11191114
##### Request Body Examples
11201115

@@ -1560,16 +1555,6 @@ Field Name | Type | Description
15601555
<a name="responseContentObject"></a>content | [Content Object](#contentObject) | An object containing descriptions of potential response payloads.
15611556
<a name="responseLinks"></a>links | [Links Object](#linksObject) | An object representing operations related to the response payload.
15621557

1563-
1564-
##### Patterned Objects
1565-
1566-
Field Pattern | Type | Description
1567-
---|:---:|---
1568-
<a name="responseContentType"></a>`*` | [Schema Object](#schemaObject)<span>&#124;</span> [Reference Object](#referenceObject) | A schema describing the response value for a specific `Content-Type`
1569-
1570-
Representations MAY take the form of a wildcard (`*`) to designate any `Content-Type`,
1571-
or a regular expression for matching a specific type
1572-
15731558
This object can be extended with [Specification Extensions](#specificationExtensions).
15741559

15751560
##### Response Object Examples
@@ -2366,7 +2351,7 @@ schemas:
23662351
$ref: http://foo.bar#/examples/name-example
23672352
23682353
# in a request body, note the plural `examples` as the Content-Type is set to `*`:
2369-
requestBody:
2354+
requestBody:
23702355
content:
23712356
'application/json':
23722357
schema:

0 commit comments

Comments
 (0)