per the spec, the only allowed ranges are [12345]XX
MODIFY
schemas/v3.1/schema.json
schemas/v3.1/schema.json
}
},
"patternProperties": {
- "^[1-5][0-9X]{2}$": {
+ "^[1-5](?:[0-9]{2}|XX)$":
"$ref": "#/$defs/response-or-reference"
}
},

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

per the spec, the only allowed ranges are [12345]XX (#2690)

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