Skip to content

Commit

Permalink
feat: decorators support rest params
Browse files Browse the repository at this point in the history
  • Loading branch information
jfrconley committed Nov 17, 2020
1 parent abce34b commit 67dd2b3
Show file tree
Hide file tree
Showing 6 changed files with 8,590 additions and 7 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ node_modules/
dist/
package-lock.json
swagger.json
yarn.lock
src/**/*.js
docs
.idea/
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@
"thread-spin": "^1.3.0",
"tmp": "^0.2.1",
"ts-node": "^9.0.0",
"tsoa": "^3.2.1",
"@tsoa/cli": "^3.4.0",
"@tsoa/runtime": "^3.4.0",
"uuid-random": "^1.3.2",
"yargs": "^16.0.3"
},
Expand Down
4 changes: 2 additions & 2 deletions src/compiler/route-compiler/route-compiler.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as chalk from "chalk";
import {MetadataGenerator} from "tsoa/dist/metadataGeneration/metadataGenerator";
import {SpecGenerator3} from "tsoa/dist/swagger/specGenerator3";
import {MetadataGenerator} from "@tsoa/cli/dist/metadataGeneration/metadataGenerator";
import {SpecGenerator3} from "@tsoa/cli/dist/swagger/specGenerator3";
import {spinnerWrap} from "../../lib/spinner";
import {tmpdir} from "os";
import {RouteModule} from "./route-module";
Expand Down
2 changes: 1 addition & 1 deletion src/compiler/route-compiler/route-module.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {Tsoa} from "tsoa/dist/metadataGeneration/tsoa";
import {Tsoa} from "@tsoa/runtime";
import Metadata = Tsoa.Metadata;
import {OpenAPIV3} from "openapi-types";
import Controller = Tsoa.Controller;
Expand Down
4 changes: 2 additions & 2 deletions src/compiler/route-compiler/unmark-hidden.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Tsoa } from 'tsoa/dist/metadataGeneration/tsoa';
import { normalisePath } from 'tsoa/dist/utils/pathUtils';
import { Tsoa } from '@tsoa/runtime';
import { normalisePath } from '@tsoa/cli/dist/utils/pathUtils';
import {OpenAPIV3} from "openapi-types";
import {unset, cloneDeep, omitBy, isEmpty} from 'lodash';

Expand Down
Loading

0 comments on commit 67dd2b3

Please sign in to comment.