Skip to content

Commit f04462d

Browse files
committed
add */* to satisfy wildcard mediatypes
1 parent ca06d24 commit f04462d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

schemas/v3.0/schema.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -784,7 +784,7 @@ definitions:
784784
additionalProperties:
785785
$ref: '#/definitions/MediaType'
786786
patternProperties:
787-
'^application/x-www-form-urlencoded$|^multipart\/.+$':
787+
'\*\/\*|^application/x-www-form-urlencoded$|^multipart\/.+$':
788788
$ref: '#/definitions/MediaTypeWithEncoding'
789789
required:
790790
type: boolean

schemas/v3.1/schema.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ $defs:
475475
additionalProperties:
476476
$ref: '#/$defs/media-type'
477477
patternProperties:
478-
'^application/x-www-form-urlencoded$|^multipart\/.+$':
478+
'\*\/\*|^application/x-www-form-urlencoded$|^multipart\/.+$':
479479
$ref: '#/$defs/media-type-with-encoding'
480480
propertyNames:
481481
format: media-range

0 commit comments

Comments
 (0)