Skip to content

Commit dd6eb33

Browse files
committed
Removed Server Variables Object
1 parent 9b9ce06 commit dd6eb33

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

versions/3.0.md

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ Additional utilities can also take advantage of the resulting files, such as tes
3535
- [Contact Object](#contactObject)
3636
- [License Object](#licenseObject)
3737
- [Server Object](#serverObject)
38-
- [Server Variables Object](#serverVariablesObject)
3938
- [Server Variable Object](#serverVariableObject)
4039
- [Components Object](#componentsObject)
4140
- [Paths Object](#pathsObject)
@@ -330,7 +329,7 @@ Field Name | Type | Description
330329
---|:---:|---
331330
<a name="serverUrl"></a>url | `string` | **Required.** A URL to the target host. This URL supports Server Variables and may be relative, to indicate that the host ___location is relative to the ___location where the OpenAPI definition is being served. Variable substitutions will be made when a variable is named in `{`brackets`}`.
332331
<a name="serverDescription"></a>description | `string` | An optional string describing the host designated by the URL. [CommonMark syntax](http://spec.commonmark.org/) can be used for rich text representation.
333-
<a name="serverVariables"></a>variables | [Server Variables Object](#serverVariablesObject) | An object holding variables for substitution in the URL template.
332+
<a name="serverVariables"></a>variables | Map[`string`, [Server Variable Object](#serverVariableObject)] | A map between a variable name and its value. The value is used for substitution in the server's URL template.
334333

335334
This object can be extended with [Specification Extensions](#specificationExtensions).
336335

@@ -376,16 +375,6 @@ servers:
376375
default: v2
377376
```
378377
379-
#### <a name="serverVariablesObject"></a>Server Variables Object
380-
381-
##### Patterned Fields
382-
383-
Field Pattern | Type | Description
384-
---|:---:|---
385-
<a name="serverVariablesName"></a> {name} | [Server Variable Object](#serverVariableObject) | A variable to be used for substitution in a Server's URL template.
386-
387-
This object can be extended with [Specification Extensions](#specificationExtensions).
388-
389378
390379
#### <a name="serverVariableObject"></a>Server Variable Object
391380

0 commit comments

Comments
 (0)