document the default for /servers
MODIFY
schemas/v3.1/schema.json
schemas/v3.1/schema.json
"type": "array",
"items": {
"$ref": "#/$defs/server"
- }
+ },
+ "default": [
+ { "url": "/" }
+ ]
},
"paths": {
"$ref": "#/$defs/paths"

MODIFY
schemas/v3.1/schema.yaml
schemas/v3.1/schema.yaml
@@ -17,6 +17,8 @@ properties:
type: array
items:
$ref: '#/$defs/server'
+ default:
+ - url: /
paths:
$ref: '#/$defs/paths'
webhooks:

document the default for /servers (#2861)

https://spec.openapis.org/oas/v3.1.0#fixed-fields