diff --git a/.spectral.yaml b/.spectral.yaml new file mode 100644 index 0000000..aaa9210 --- /dev/null +++ b/.spectral.yaml @@ -0,0 +1,15 @@ +formats: [] +extends: + - 'spectral:oas' +rules: + info-matches-stoplight: + description: This is an example rule + message: Info must contain Stoplight + given: $.info + recommended: true + type: style + then: + field: title + function: pattern + functionOptions: + match: Stoplight