I have been following the 'Getting started' guide from TSOA to setup a new express project with typescript, add a nodemon configuration and swagger documentation. After finishing step three "Live reloading" the result should be a GET and POST route in swagger and two schemas: User
and UserCreationParams
.
I'm getting the same result except that it generated a third schema Pick_User.email-or-name-or-phoneNumbers_
. If I create more routes and interfaces and create extra types using Pick
, Partial
or Omit
they are all getting picked up and added to the schema.
I'm looking for a way to ignore these 'dirty' schemas