Tell linter that 4xx responses are unexpected (#18)

This commit is contained in:
Andrew Mayorov 2022-03-14 21:05:25 +04:00 committed by GitHub
parent 56dba5ca24
commit ab5588c2ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,7 +5,10 @@ lint:
extends:
- recommended
rules:
tag-description: off
# NOTE
# We don't actually expect a backend receiving webhook events following
# this specification to respond with anything other than 200 OK.
operation-4xx-response: off
referenceDocs:
showConsole: true
layout: