routing-controllers-openapi icon indicating copy to clipboard operation
routing-controllers-openapi copied to clipboard

#81: Add importClassFromDirectory support from routing-controllers

Open rdfedor opened this issue 3 years ago • 0 comments

  • Update lock file to fix audit problems.
  • Implements importing controllers from string path.
  • Update test cases to test around importing from straight controllers and through directory string.
---------------------------------|---------|----------|---------|---------|-------------------------
File                             | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s       
---------------------------------|---------|----------|---------|---------|-------------------------
All files                        |     100 |    92.31 |     100 |     100 |                         
 decorators.ts                   |     100 |    98.08 |     100 |     100 | 110                     
 generateSpec.ts                 |     100 |    92.38 |     100 |     100 | 107,177-186,209,324,351 
 importClassesFromDirectories.ts |     100 |    90.91 |     100 |     100 | 15                      
 index.ts                        |     100 |       50 |     100 |     100 | 24-28                   
 parseMetadata.ts                |     100 |      100 |     100 |     100 |                         
---------------------------------|---------|----------|---------|---------|-------------------------

Test Suites: 5 passed, 5 total
Tests:       60 passed, 60 total

rdfedor avatar May 22 '21 20:05 rdfedor