typescript-rest-swagger
typescript-rest-swagger copied to clipboard
Use tsconfig.json compilerOptions
support for project's tsconfig.json
Good start. I think this needs a couple things before a merge though:
- (Optional) Add a configuration option
tsConfigFileto override the default location of the tsconfig.json file - Handle the case where
requirethrows an error because tsconfig.json doesn't exists where you're looking for it and fallback to using empty config - Handle the case where
tsconfig.compilerOptionsis undefined and fallback to using empty config - Fix linting error
ERROR: src/metadata/metadataGenerator.ts[14, 68]: trailing whitespace
@ngraef It's good strict for that; I have a suggestion. why not move to configurable swagger.config then user make the decision.
@vellengs any movement on this one?