"The Responses Object MUST contain at least one response code"
MODIFY
schemas/v3.1/schema.json
schemas/v3.1/schema.json
"$ref": "#/$defs/response-or-reference"
}
},
+ "minProperties": 1,
"$ref": "#/$defs/specification-extensions",
"unevaluatedProperties": false
},

MODIFY
schemas/v3.1/schema.yaml
schemas/v3.1/schema.yaml
@@ -557,6 +557,7 @@ $defs:
patternProperties:
'^[1-5](?:[0-9]{2}|XX)$':
$ref: '#/$defs/response-or-reference'
+ minProperties: 1
$ref: '#/$defs/specification-extensions'
unevaluatedProperties: false

"The Responses Object MUST contain at least one response code" (#2799)

https://spec.openapis.org/oas/v3.1.0#responses-object