FAQ

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

    infoLicenseUrl


    infoLicenseUrl will check a specification to ensure that the info section contains a valid license url

    Example ruleset configuration

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

    The function is used by the license-url Rule


    View Function Source