Annotation Type License
-
@Target({}) @Retention(RUNTIME) @Inherited public @interface License
License information for the exposed API.- See Also:
- OpenAPI Specification License Object
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description Extension[]
extensions
List of extensions to be added to theLicense
model corresponding to the containing annotation.String
identifier
The license identifier used for the API.String
url
A URL to the license used for the API.
-
-
-
Element Detail
-
name
String name
The license name used for the API.- Returns:
- the name of the license
-
-
-
identifier
String identifier
The license identifier used for the API.- Returns:
- the identifier of the license
- Default:
- ""
-
-
-
url
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:
- ""
-
-