Skip to content

api-morph / LicenseObject

Interface: LicenseObject

Defined in: src/types/openapi.ts:160

License information for the exposed API.

See

https://spec.openapis.org/oas/v3.1.1#license-object

Indexable

[key: `x-${string}`]: any

This object MAY be extended with Specification Extensions.

Properties

identifier?

optional identifier: string

Defined in: src/types/openapi.ts:169

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


name

name: string

Defined in: src/types/openapi.ts:164

REQUIRED. The license name used for the API.


url?

optional url: string

Defined in: src/types/openapi.ts:175

A URI for the license used for the API. This MUST be in the form of a URI. The url field is mutually exclusive of the identifier field.

基于 MIT 许可证发布