Skip to content

Commit ed8eac7

Browse files
committed
Removed duplicate line for schemes
Fixed typos in JSON example
1 parent 86e5686 commit ed8eac7

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
@@ -465,7 +465,6 @@ Field Name | Type | Description
465465
<a name="operationRequestBody"></a>requestBody | [[Request Body Object](#requestBodyObject) <span>&#124;</span> [Reference Object](#referenceObject)] | The request body applicable for this operation.
466466
<a name="operationResponses"></a>responses | [Responses Object](#responsesObject) | **Required.** The list of possible responses as they are returned from executing this operation.
467467
<a name="operationCallbacks"></a>callback responses | [Callback Responses Object](#callbackObject) | The list of possible callback responses as they are returned from executing this operation.
468-
<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.
469468
<a name="operationDeprecated"></a>deprecated | `boolean` | Declares this operation to be deprecated. Usage of the declared operation should be refrained. Default value is `false`.
470469
<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.
471470
<a name="operationHost"></a>host | `string` | The host (name or ip) serving the path. This optional value will override the top-level [host](#oasHost) or path item-level [host](#pathItemHost). if present. This MUST be the host only and does not include the scheme nor sub-paths. It MAY include a port. If the `host` is not included, the host serving the documentation is to be used (including the port). The `host` does not support [path templating](#pathTemplating).
@@ -494,19 +493,21 @@ This object can be extended with [Specification Extensions](#specificationExtens
494493
}
495494
],
496495
"requestBody" : {
497-
"content" : {
498-
"application/x-www-form-urlencoded":{
499-
"schema" : {
500-
"type" : "object",
496+
"content": {
497+
"application/x-www-form-urlencoded": {
498+
"schema": {
499+
"type": "object",
501500
"properties": {
502-
"name"
503-
"description" : "Updated name of the pet",
501+
"name": {
502+
"description": "Updated name of the pet",
504503
"type": "string"
505-
"status":
506-
"description" : "Updated status of the pet",
504+
},
505+
"status": {
506+
"description": "Updated status of the pet",
507507
"type": "string"
508+
}
508509
},
509-
"required" : ["status"]
510+
"required": ["status"]
510511
}
511512
}
512513
}

0 commit comments

Comments
 (0)