npm.io
1.0.2 • Published 4 years ago

@tstypes/openapi-v2

Licence
MIT
Version
1.0.2
Deps
0
Size
52 kB
Vulns
0
Weekly
0

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"
]