Skip to content

Commit 902ce94

Browse files
authored
Merge pull request OAI#931 from ePaul/typo-fixes
typo fixes.
2 parents 9e9faa4 + 5c07dcb commit 902ce94

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

versions/3.0.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ While the API is described using JSON it does not impose a JSON input/output to
116116
All field names in the specification are **case sensitive**.
117117

118118
The schema exposes two types of fields.
119-
Fixed fields, which have a declared name, and Patterned fields, which declare a regex pattern for the field name.
119+
Fixed fields, which have a declared name, and Patterned fields, which declare a regular expression pattern for the field name.
120120
Patterned fields can have multiple occurrences as long as each has a unique name.
121121

122122
In order to preserve the ability to round-trip between YAML and JSON formats, YAML version [1.2](http://www.yaml.org/spec/1.2/spec.html) is recommended along with some additional constraints:
@@ -1138,7 +1138,7 @@ schema:
11381138
type: string
11391139
format: base64
11401140
1141-
# content transfered in binary (octet-stream):
1141+
# content transferred in binary (octet-stream):
11421142
schema:
11431143
type: string
11441144
format: binary
@@ -1188,16 +1188,16 @@ requestBody:
11881188
type: string
11891189
format: uuid
11901190
address:
1191-
# complex types are stringified to support rfc1866
1191+
# complex types are stringified to support RFC1866
11921192
type: object
11931193
properties: {}
11941194
```
11951195
1196-
Note that in the above example, the contents in the `requestBody` MUST be stringified per RFC1866 when being passed to the server. In addition, the `address` field complex object will be strigified as well.
1196+
Note that in the above example, the contents in the `requestBody` MUST be stringified per RFC1866 when being passed to the server. In addition, the `address` field complex object will be stringified as well.
11971197

11981198
When passing complex objects in the `x-www-form-urlencoded` content type, the default serialization strategy of such properties is described in the `parameterContent` section as `form`.
11991199

1200-
##### Special Considerations for `mutlipart` content
1200+
##### Special Considerations for `multipart` content
12011201

12021202
It is common to use `multipart/form-data` as a `Content-Type` when transferring request bodies to operations. In contrast to 2.0, a `schema` is required to define the input parameters to the operation when using `multipart` content. This allows complex structures as well as supports mechanisms for multiple file uploads.
12031203

@@ -1240,7 +1240,7 @@ requestBody:
12401240
type: '#/definitions/Address'
12411241
```
12421242
1243-
In scenarios where more control is needed over the Content-Type for `multipart` request bodies, an `encoding` attribute is introduced. This attribute is _only_ applicable to `mulitpart/*` and `x-www-form-urlencoded` request bodies.
1243+
In scenarios where more control is needed over the Content-Type for `multipart` request bodies, an `encoding` attribute is introduced. This attribute is _only_ applicable to `multipart/*` and `x-www-form-urlencoded` request bodies.
12441244

12451245
#### <a name="encodingObject"></a>Encoding Object
12461246

@@ -1528,7 +1528,7 @@ This object can be extended with [Specification Extensions](#specificationExtens
15281528

15291529
The key used to identify the callback object is a variable expression that can be evaluated in the context of a runtime HTTP request/response to identify the URL to be used for the callback request.
15301530
A simple example might be `$request.body#/url`.
1531-
However, using [variable substition](#variableSubstition) syntax the complete HTTP message can be accessed.
1531+
However, using [variable substitution](#variableSubstitution) syntax the complete HTTP message can be accessed.
15321532
This includes accessing any part of a body that can be accessed using a JSON Pointer [RFC6901](https://tools.ietf.org/html/rfc6901).
15331533

15341534

@@ -1704,7 +1704,7 @@ Because of the potential for name clashes, consider the `href` syntax as the pre
17041704

17051705
#### <a name="responsePayload"></a>Response Payload Values
17061706

1707-
Payload values are only available in parseable response payloads which match the advertised media-type and for media-types that can be referenced using a JSON Pointer fragment Id.
1707+
Payload values are only available in parsable response payloads which match the advertised media-type and for media-types that can be referenced using a JSON Pointer fragment Id.
17081708
In all cases, if a value does _not_ exist, the parameter will be considered a `null` value (as opposed to an empty value) and _not_ passed as a parameter to the linked resource.
17091709
In cases where a value is required, and a parameter is not supplied, the client MAY choose to not follow the link definition.
17101710

@@ -1747,7 +1747,7 @@ color: ["red", "green", "blue"]
17471747
The variables generated can be used in locations prescribed by the definition.
17481748

17491749

1750-
### <a name="variableSubstition"></a>Variable substitution
1750+
### <a name="variableSubstitution"></a>Variable substitution
17511751
In all cases, _variables_ from request and responses may be substituted for link generation.
17521752
The table below provides examples of variable expressions and examples of their use in a value:
17531753

@@ -3385,8 +3385,8 @@ Field Name | Type | Description
33853385
---|:---:|---|---
33863386
<a name="oauthFlowImplicit"></a>implicit| [OAuth Flow Object](#oauthFlowObject) | Configuration for the OAuth Implicit flow
33873387
<a name="oauthFlowPassword"></a>password| [OAuth Flow Object](#oauthFlowObject) | Configuration for the OAuth Resource Owner Password flow
3388-
<a name="oauthFlowClientCredentials"></a>clientCredentials| [OAuth Flow Object](#oauthFlowObject) | Configuration for the OAuth Client Credentials flow. Previously called `application` in OpenApi 2.0.
3389-
<a name="oauthFlowAuthorizationCode"></a>authorizationCode| [OAuth Flow Object](#oauthFlowObject) | Configuration for the OAuth Authorization Code flow. Previously called `accessCode` in OpenApi 2.0.
3388+
<a name="oauthFlowClientCredentials"></a>clientCredentials| [OAuth Flow Object](#oauthFlowObject) | Configuration for the OAuth Client Credentials flow. Previously called `application` in OpenAPI 2.0.
3389+
<a name="oauthFlowAuthorizationCode"></a>authorizationCode| [OAuth Flow Object](#oauthFlowObject) | Configuration for the OAuth Authorization Code flow. Previously called `accessCode` in OpenAPI 2.0.
33903390

33913391
This object can be extended with [Specification Extensions](#specificationExtensions).
33923392

0 commit comments

Comments
 (0)