# @octokit/openapi-types

> Generated TypeScript definitions based on GitHub's OpenAPI spec for api.github.com

Latest version **29.0.1** (published 2026-08-29) · MIT license · 0 weekly downloads

## Install

```sh
npm install @octokit/openapi-types
pnpm add @octokit/openapi-types
yarn add @octokit/openapi-types
bun add @octokit/openapi-types
```

## Health

**Score 65/100 (B)** — status: active.

Positive: has types; no vulnerabilities; has provenance; recently updated; high maintenance score.

Warnings: low downloads; no esm support.

## Facts

| | |
|---|---|
| Version | 29.0.1 |
| Published | 2026-08-29 |
| First published | 2020-10-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 5.1 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| Author | Gregor Martynus |
| Maintainers | octokitbot, gr2m, wolfy1339 |

## Links

- npm: https://www.npmjs.com/package/@octokit/openapi-types
- Repository: https://github.com/octokit/openapi-types.ts
- Homepage: https://github.com/octokit/openapi-types.ts#readme
- Issues: https://github.com/octokit/openapi-types.ts/issues
- npm.io page: https://npm.io/package/@octokit/openapi-types

## Recent versions

- 29.0.1 (latest) — 2026-08-29
- 18.1.1 (release-18.x) — 2023-09-23
- 13.13.1 (release-13.x) — 2022-09-29
- 10.1.3 (beta) — 2021-09-12
- 29.0.0 — 2026-08-27
- 28.0.0 — 2026-08-01
- 27.0.0 — 2025-10-30
- 26.0.0 — 2025-09-16
- 25.1.0 — 2025-05-25
- 25.0.0 — 2025-04-09
- 24.2.0 — 2025-03-18
- 24.1.0 — 2025-03-18
- 24.0.0 — 2025-02-15
- 23.0.1 — 2025-01-08
- 23.0.0 — 2025-01-08
- … 147 more at https://npm.io/package/@octokit/openapi-types/versions

## README

# @octokit/openapi-types

> Generated TypeScript definitions based on GitHub's OpenAPI spec

This package is continuously updated based on [GitHub's OpenAPI specification](https://github.com/github/rest-api-description/)

## Usage

```ts
import { components } from "@octokit/openapi-types";

type Repository = components["schemas"]["full-repository"];
```

## License

[MIT](LICENSE)

---
_Source: https://npm.io/package/@octokit/openapi-types · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
