Skip to content

Commit 962f141

Browse files
committed
Fix example; server variable default and enum must be strings
1 parent 13ae045 commit 962f141

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

versions/3.0.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -386,10 +386,10 @@ The following shows how variables can be used for a server configuration:
386386
},
387387
"port": {
388388
"enum": [
389-
8443,
390-
443
389+
"8443",
390+
"443"
391391
],
392-
"default": 8443
392+
"default": "8443"
393393
},
394394
"basePath": {
395395
"default": "v2"
@@ -411,9 +411,9 @@ servers:
411411
description: this value is assigned by the service provider, in this example `gigantic-server.com`
412412
port:
413413
enum:
414-
- 8443
415-
- 443
416-
default: 8443
414+
- '8443'
415+
- '443'
416+
default: '8443'
417417
basePath:
418418
# open meaning there is the opportunity to use special base paths as assigned by the provider, default is `v2`
419419
default: v2

0 commit comments

Comments
 (0)