Skip to content

Commit 4c2f701

Browse files
author
Ron
authored
Merge pull request #1051 from OAI/requireed-fields
Added required fields
2 parents 54f6134 + 9dc099c commit 4c2f701

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

versions/3.0.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ An object representing a Server.
323323

324324
Field Name | Type | Description
325325
---|:---:|---
326-
<a name="serverUrl"></a>url | `string` | 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`}`.
326+
<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`}`.
327327
<a name="serverDescription"></a>description | `string` | An optional string describing the host designated by the URL.
328328
<a name="serverVariables"></a>variables | [Server Variables Object](#serverVariablesObject) | An object holding variables for substitution in the URL template.
329329

@@ -1110,7 +1110,7 @@ Describes a single request body.
11101110
Field Name | Type | Description
11111111
---|:---:|---
11121112
<a name="requestBodyDescription"></a>description | `string` | A brief description of the request body. This could contain examples of use. [CommonMark syntax](http://spec.commonmark.org/) can be used for rich text representation.
1113-
<a name="requestBodyContent"></a>content | [Content Object](#contentObject) | The content of the request body.
1113+
<a name="requestBodyContent"></a>content | [Content Object](#contentObject) | **Required.** The content of the request body.
11141114
<a name="requestBodyRequired"></a>required | `boolean` | Determines if the request body is required in the request. Defaults to `false`.
11151115

11161116

0 commit comments

Comments
 (0)