Skip to content

Instantly share code, notes, and snippets.

# Make sure every post/put/delete/patch endpoint has some sort of security
rules:
api-home:
description: APIs MUST have a root path defined (`/`), to stop forcing all API consumers to visit documentation for basic interactions.
severity: error
given: $.paths
then:
field: /
function: truthy