diff --git a/schemas/v3.1/schema.json b/schemas/v3.1/schema.json index 9f1524f4dc..0ec8148305 100644 --- a/schemas/v3.1/schema.json +++ b/schemas/v3.1/schema.json @@ -19,7 +19,10 @@ "type": "array", "items": { "$ref": "#/$defs/server" - } + }, + "default": [ + { "url": "/" } + ] }, "paths": { "$ref": "#/$defs/paths" diff --git a/schemas/v3.1/schema.yaml b/schemas/v3.1/schema.yaml index bf44567463..22df213d69 100644 --- a/schemas/v3.1/schema.yaml +++ b/schemas/v3.1/schema.yaml @@ -16,6 +16,8 @@ properties: type: array items: $ref: '#/$defs/server' + default: + - url: / paths: $ref: '#/$defs/paths' webhooks: