FAQ

  • GitHub GitHub Repo stars
  • Discord Discord Server
  • ✨ New! Try the OpenAPI Doctor ✨ The OpenAPI Doctor

    owaspStringLimit


    owaspCheckErrorResponse will check string schema types also define maxLength, enum, or const

    Example ruleset configuration

    my-security-rule:
      description: strings should define `maxLength`, `enum`, or `const`
      type: validation
      given: $
      then:
        function: owaspStringLimit
    

    Used by the following rules: