diff --git a/tests/schema/fail/media-type-description.yaml b/tests/schema/fail/media-type-description.yaml new file mode 100644 index 0000000000..9919db9883 --- /dev/null +++ b/tests/schema/fail/media-type-description.yaml @@ -0,0 +1,11 @@ +openapi: 3.2.0 +info: + title: API + version: 1.0.0 +components: + mediaTypes: + description_not_allowed: + description: | + we added 'description' to the schema in 3.2.0 but it was not added to the specification. + it will be added for real in 3.3.0. + schema: {}