Skip to content

Commit 89a94bd

Browse files
committed
Merge remote-tracking branch 'refs/remotes/origin/OpenAPI.next' into Issue-778
2 parents 8616a99 + 8712108 commit 89a94bd

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

versions/3.0.md

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,6 @@ Field Name | Type | Description
578578
<a name="operationRequestBody"></a>requestBody | [[Request Body Object](#requestBodyObject) <span>&#124;</span> [Reference Object](#referenceObject)] | The request body applicable for this operation.
579579
<a name="operationResponses"></a>responses | [Responses Object](#responsesObject) | **Required.** The list of possible responses as they are returned from executing this operation.
580580
<a name="operationCallbacks"></a>callback responses | [Callback Responses Object](#callbackObject) | The list of possible callback responses as they are returned from executing this operation.
581-
<a name="operationSchemes"></a>schemes | [`string`] | The transfer protocol for the operation. Values MUST be from the list: `"http"`, `"https"`, `"ws"`, `"wss"`. The value overrides the OpenAPI Object [`schemes`](#oasSchemes) definition.
582581
<a name="operationDeprecated"></a>deprecated | `boolean` | Declares this operation to be deprecated. Usage of the declared operation should be refrained. Default value is `false`.
583582
<a name="operationSecurity"></a>security | [[Security Requirement Object](#securityRequirementObject)] | A declaration of which security schemes are applied for this operation. The list of values describes alternative security schemes that can be used (that is, there is a logical OR between the security requirements). This definition overrides any declared top-level [`security`](#oasSecurity). To remove a top-level security declaration, an empty array can be used.
584583
<a name="operationItemServer"></a>servers | [Server Object](#serverObject) | An alternative `server` array to service this operation. If an alternative `server` object is specified at the Path Item Object or Root level, it will be overridden by this value.
@@ -605,19 +604,21 @@ This object can be extended with [Specification Extensions](#specificationExtens
605604
}
606605
],
607606
"requestBody" : {
608-
"content" : {
609-
"application/x-www-form-urlencoded":{
610-
"schema" : {
611-
"type" : "object",
607+
"content": {
608+
"application/x-www-form-urlencoded": {
609+
"schema": {
610+
"type": "object",
612611
"properties": {
613-
"name"
614-
"description" : "Updated name of the pet",
612+
"name": {
613+
"description": "Updated name of the pet",
615614
"type": "string"
616-
"status":
617-
"description" : "Updated status of the pet",
615+
},
616+
"status": {
617+
"description": "Updated status of the pet",
618618
"type": "string"
619+
}
619620
},
620-
"required" : ["status"]
621+
"required": ["status"]
621622
}
622623
}
623624
}

0 commit comments

Comments
 (0)