mirror of
https://github.com/adidas/api-guidelines.git
synced 2025-10-25 15:19:19 +00:00
Change function in oas3 json support
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user