Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@octokit/openapi-types

octokit72.9mMIT24.2.0TypeScript support: included

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

readme

@octokit/openapi-types

Generated TypeScript definitions based on GitHub's OpenAPI spec

This package is continuously updated based on GitHub's OpenAPI specification

Usage

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

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

License

MIT