License

data class License(val name: String, val url: String? = null, val identifier: String? = null)(source)

License information for the exposed API.

Report a problem

Constructors

Link copied to clipboard
constructor(name: String, url: String? = null, identifier: String? = null)

Properties

Link copied to clipboard

An SPDX license expression for the API. The identifier field is mutually exclusive of the url field.

Link copied to clipboard

The license name used for the API.

Link copied to clipboard
val url: String?

A URL to the license used for the API. MUST be in the format of a URL.