Change function in oas3 json support

This commit is contained in:
Jarzyna, Andrzej
2019-11-26 12:38:34 +01:00
parent 798a8709b7
commit 056e2a9ac8

View File

@@ -197,9 +197,7 @@ rules:
message: "{{description}}: {{error}}"
given: $.paths.[*].requestBody.content[?(@property.indexOf('json') === -1)]^
then:
function: pattern
functionOptions:
match: falsy
function: falsy
valid-example-in-parameters:
description: Examples must be valid against their defined schema.