@tstypes/openapi-v2
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

OpenApi version 2 types

These types are manually created from the specifications offered by the OpenApi project.

Geting started

In the tsconfig.json add:

  • ./node_modules/@tstypes in the typeroot section
  • openapi-v2 in the types section

Example

"typeRoots": [
    "./node_modules/@tstypes"
],
"types": [
    "openapi-v2",
    "openapi-v3"
]

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @tstypes/openapi-v2

      Weekly Downloads

      1

      Version

      1.0.2

      License

      MIT

      Unpacked Size

      53.6 kB

      Total Files

      5

      Last publish

      Collaborators

      • iulianp
      • ipreda