Change server-variable property to 'description'
* Change server-variable property to 'description'
According to the spec:
This should validate a `description` field, not `descriptions`.
* Update schema.yaml
MODIFY
schemas/v3.1/schema.json
schemas/v3.1/schema.json
"default": {
"type": "string"
},
- "descriptions": {
+ "description": {
"type": "string"
}
},

MODIFY
schemas/v3.1/schema.yaml
schemas/v3.1/schema.yaml
@@ -130,7 +130,7 @@ $defs:
minItems: 1
default:
type: string
- descriptions:
+ description:
type: string
required:
- default

Change server-variable property to 'description' (#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