[api-typescript-generator](../../README.md) / [Modules](../modules.md) / [openapi](../modules/openapi.md) / OpenApiLicense

# Interface: OpenApiLicense

[openapi](../modules/openapi.md).OpenApiLicense

The license information for the exposed API.

**`See`**

https://swagger.io/specification/#license-object

## Table of contents

### Properties

- [identifier](openapi.OpenApiLicense.md#identifier)
- [name](openapi.OpenApiLicense.md#name)
- [url](openapi.OpenApiLicense.md#url)

## Properties

### identifier

• `Optional` **identifier**: `string`

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

___

### name

• **name**: `string`

The license name used for the API.

___

### url

• `Optional` **url**: `string`

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