Skip to content

OpenSpecLicense

@tsed/openspec

Usage ​

typescript
import { OpenSpecLicense } from "@tsed/openspec";

See /packages/specs/openspec/src/common/OpenSpecInfo.ts.

Overview ​

ts
interface OpenSpecLicense {
    name: string;
    url?: string;
}

name ​

ts
name: string;

The license name used for the API.

url ​

ts
url?: string;

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

Released under the MIT License.