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 thetyperoot
section -
openapi-v2
in thetypes
section
Example
"typeRoots": [
"./node_modules/@tstypes"
],
"types": [
"openapi-v2",
"openapi-v3"
]