1.0.2 • Published 3 years ago

@tstypes/openapi-v2 v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

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