FAQ

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

    infoContact


    infoContact will check a specification to ensure that the info section contains a contact object.

    Example ruleset configuration

    info-contact:
      description: "Check that the `info` section contains a `contact` object."
      type: "information"
      recommended: true
      severity: "warn"
      given: "$"
      then:
        function: "infoContact"
    

    The function is used by the info-contact Rule


    View Function Source