Skip to content

Commit a8bd1a5

Browse files
authored
Change server-variable property to 'description' (OAI#2793)
* Change server-variable property to 'description' According to the spec: https://spec.openapis.org/oas/v3.1.0#server-variable-object This should validate a `description` field, not `descriptions`. * Update schema.yaml
1 parent 99f8331 commit a8bd1a5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

schemas/v3.1/schema.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@
189189
"default": {
190190
"type": "string"
191191
},
192-
"descriptions": {
192+
"description": {
193193
"type": "string"
194194
}
195195
},
@@ -1353,4 +1353,4 @@
13531353
}
13541354
}
13551355
}
1356-
}
1356+
}

schemas/v3.1/schema.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ $defs:
130130
minItems: 1
131131
default:
132132
type: string
133-
descriptions:
133+
description:
134134
type: string
135135
required:
136136
- default

0 commit comments

Comments
 (0)