Annotation Interface License
License information for the exposed API.
- See Also:
-
- "https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#licenseObject"
-
Required Element Summary
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionList of extensions to be added to theLicense
model corresponding to the containing annotation.A URL to the license used for the API.
-
Element Details
-
name
String nameThe license name used for the API.- Returns:
- the name of the license
-
-
-
url
String urlA URL to the license used for the API. MUST be in the format of a URL.- Returns:
- the URL of the license
- Default:
- ""
-
extensions
Extension[] extensionsList of extensions to be added to theLicense
model corresponding to the containing annotation.- Returns:
- array of extensions
- Since:
- 3.1
- Default:
- {}
-