Fixed section names
MODIFY
versions/3.0.md
versions/3.0.md
@@ -674,7 +674,7 @@ This object can be extended with [Specification Extensions](#specificationExtens
"200": {
"description": "pet response",
"content": {
- "*": {
+ "*/*": {
"schema": {
"type": "array",
"items": {
@@ -721,7 +721,7 @@ get:
'200':
description: pet response
content:
- *:
+ '*/*' :
schema:
type: array
items:
@@ -1831,7 +1831,7 @@ X-Rate-Limit-Reset:
Allows sharing examples for operation requests and responses. This literal value can either be any JSON or YAML object, array or primitive value. To represent examples of media types that cannot naturally represented in the OpenAPI definition, a string value can be used to contain the example with escaping where necessary.
-##### Example Example
+##### Example Object Example
Example representation for application/json media type of a Pet data type:
@@ -1863,7 +1863,7 @@ Field Name | Type | Description
<a name="describedExampleSummary"></a>summary | `string` | Short description for the example.
<a name="describedExampleDescription"></a>description | `string` | Long description for the example.
<a name="describedExampleValue"></a>value | [Example Object](#exampleObject) | Embedded literal example. The `value` field and `valueUrl` field are mutually exclusive.
-<a name="describedExampleValueUrl"></a>valueUrl | `string` | A Url that points to the literal example. This provides the ability to reference examples that cannot easily be included in JSON or YAML documents. The `value` field and `valueUrl` field are mutually exclusive.
+<a name="describedExampleValueUrl"></a>valueUrl | `string` | A URL that points to the literal example. This provides the ability to reference examples that cannot easily be included in JSON or YAML documents. The `value` field and `valueUrl` field are mutually exclusive.
This object can be extended with [Specification Extensions](#specificationExtensions).
@@ -1872,7 +1872,7 @@ for the value that it is accompanying. Tooling implementations MAY choose to
validate compatibility automatically, and reject the example value(s) if they
are not compatible.
-##### Example Described Example
+##### Described Example Object Example
```yaml
# in a model
@@ -1907,6 +1907,7 @@ schemas:
summary: This is a text example
valueUrl: 'http://foo.bar/examples/address-example.txt'
+
# in a parameter
parameters:
- name: 'zipCode'
@@ -2436,7 +2437,6 @@ name: pet
description: Pets operations
```
-
#### <a name="referenceObject"></a>Reference Object
A simple object to allow referencing other components in the specification, internally and externally.

Fixed section names