license
Field Name | Type | Description |
---|---|---|
name | string | REQUIRED. The license name used for the API. |
identifier | string | An SPDX license expression for the API. The identifier field is mutually exclusive of the url field. |
url | string | The URL pointing to the contact information. |
string | The email address of the contact person or organization. |
Visuals
license
example
The following shows a license
example.
info: title: Example version: '' description: | # My API description in Markdown This is a sample of an info description. license: name: MIT url: https://opensource.org/licenses/MIT
Types
License
(found in the Info object)
const License: NodeType = { properties: { name: { type: 'string' }, url: { type: 'string' }, }, required: ['name'], };