Annotation Type License


  • @Target({})
    @Retention(RUNTIME)
    @Inherited
    public @interface License
    License information for the exposed API.
    See Also:
    "https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.md#licenseObject"
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String name
      The license name used for the API.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String url
      A URL to the license used for the API.
    • Element Detail

      • name

        java.lang.String name
        The license name used for the API.
        Returns:
        the name of the license
      • url

        java.lang.String url
        A URL to the license used for the API. MUST be in the format of a URL.
        Returns:
        the URL of the license
        Default:
        ""