{
 "kind": "tool",
 "slug": "openapi-typescript",
 "path": "tools/openapi-typescript/",
 "name": "OpenAPI TypeScript",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Languages, types and runtimes",
   "tools/languages-types/"
  ]
 ],
 "lead": "Generate TypeScript types from OpenAPI 3.0 and 3.1 schemas automatically.",
 "chips": [
  {
   "label": "Languages, types and runtimes",
   "path": "tools/languages-types/"
  },
  {
   "label": "NPM"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "npm install openapi-typescript"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/openapi-ts/openapi-typescript"
  },
  {
   "label": "Website",
   "href": "https://openapi-ts.dev"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "MIT",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from npm.",
   "src": "https://github.com/openapi-ts/openapi-typescript"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Sep 25, 2026",
   "note": "Latest GitHub release Feb 11, 2026. ",
   "src": "https://github.com/openapi-ts/openapi-typescript"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "17 projects",
   "status": "info",
   "sub": "#14 of 70 in its category",
   "note": "Dependency in 17 public GitHub projects set up for AI coding agents that we scanned (0.3%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Install only",
   "status": "info",
   "sub": null,
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": null
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What OpenAPI TypeScript does",
   "parts": [
    {
     "t": "prose",
     "text": "Generate TypeScript types from OpenAPI 3.0 and 3.1 schemas automatically."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "OpenAPI TypeScript popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "67",
       "of": "/ 100",
       "l": "Gid Score, #560 overall"
      },
      {
       "n": "18M",
       "l": "downloads a week, npm"
      },
      {
       "n": "8,442",
       "l": "GitHub stars"
      },
      {
       "n": "17",
       "l": "agent projects use it"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How OpenAPI TypeScript is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "OpenAPI TypeScript is a dependency in 17 of the 6,258 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750); counting those, it appears in 49 projects, and what it is used with below comes from all of them.",
      "The most used alternative in our scan is @graphql-codegen/typescript (13 projects).",
      "Projects that use it most often also use Prettier (67.3%), Vitest (67.3%), TanStack Query (49.0%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "12 projects, 0.4%",
       "v": "Claude Code",
       "path": "agents/claude-code/"
      },
      {
       "l": "10 projects, 0.4%",
       "v": "Cursor",
       "path": "agents/cursor/"
      },
      {
       "l": "8 projects, 0.3%",
       "v": "GitHub Copilot",
       "path": "agents/github-copilot/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 67.3% of its projects",
       "v": "Prettier",
       "path": "tools/prettier/"
      },
      {
       "l": "In 67.3% of its projects",
       "v": "Vitest",
       "path": "tools/vitest/"
      },
      {
       "l": "In 49.0% of its projects",
       "v": "TanStack Query",
       "path": "tools/tanstack-react-query/"
      },
      {
       "l": "In 53.1% of its projects",
       "v": "tsx",
       "path": "tools/tsx/"
      },
      {
       "l": "In 40.8% of its projects",
       "v": "Testing Library",
       "path": "tools/testing-library/"
      },
      {
       "l": "In 40.8% of its projects",
       "v": "openapi-fetch",
       "path": "tools/openapi-fetch/"
      },
      {
       "l": "In 95.9% of its projects",
       "v": "TypeScript",
       "path": "tools/typescript/"
      },
      {
       "l": "In 75.5% of its projects",
       "v": "ESLint",
       "path": "tools/eslint/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about OpenAPI TypeScript",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "Funding",
       "path": "tools/funding/",
       "items": [
        "Open Collective: https://opencollective.com/openapi-ts"
       ]
      },
      {
       "title": "More in Languages, types and runtimes",
       "path": "tools/languages-types/",
       "items": [
        {
         "text": "TypeScript",
         "path": "tools/typescript/"
        },
        {
         "text": "tsx",
         "path": "tools/tsx/"
        },
        {
         "text": "ts-node",
         "path": "tools/ts-node/"
        },
        {
         "text": "jiti",
         "path": "tools/jiti/"
        },
        {
         "text": "vue-tsc",
         "path": "tools/vue-tsc/"
        },
        {
         "text": "Cloudflare Workers Types",
         "path": "tools/cloudflare-workers-types/"
        },
        {
         "text": "mypy",
         "path": "tools/mypy/"
        },
        {
         "text": "tsconfig-paths",
         "path": "tools/tsconfig-paths/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "OpenAPI TypeScript",
       "me": true,
       "facts": [
        "MIT",
        "Gid 67",
        "18M/wk"
       ]
      },
      {
       "name": "@graphql-codegen/typescript",
       "why": "GraphQL Code Generator plugin to auto-generate TypeScript types from schemas.",
       "path": "tools/graphql-codegen-typescript/",
       "facts": [
        "MIT",
        "Gid 62",
        "14.2M/wk"
       ]
      }
     ],
     "more": "Compare OpenAPI TypeScript with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "npm install openapi-typescript"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for OpenAPI TypeScript yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "npm openapi-typescript"
  ],
  [
   "Category",
   "Languages, types and runtimes"
  ],
  [
   "License",
   "MIT"
  ],
  [
   "Gid Score",
   "66.8"
  ],
  [
   "Rank in category",
   "#14 of 70"
  ],
  [
   "GitHub",
   "openapi-ts/openapi-typescript"
  ],
  [
   "Last change",
   "Sep 25, 2026"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/openapi-ts.png"
}