FAQ

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

    infoLicense


    infoLicense will check a specification to ensure that the info section contains a valid license.

    Example ruleset configuration

    info-license:
      description: "Check that the `info` section contains a valid license"
      type: "information"
      recommended: true
      severity: "error"
      given: "$"
      then:
        function: "infoLicense"
    

    The function is used by the info-license Rule


    View Function Source