Skip to content

Commit 671c555

Browse files
Merge pull request #44 from tchambard/master
Add method summary information
2 parents 9c15a48 + 9df2ba0 commit 671c555

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/swagger/generator.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ export class SpecGenerator {
115115
private buildPathMethod(controllerName: string, method: Method, pathObject: any) {
116116
const pathMethod: any = pathObject[method.method] = this.buildOperation(controllerName, method);
117117
pathMethod.description = method.description;
118+
pathMethod.summary = method.summary;
118119

119120
if (method.deprecated) { pathMethod.deprecated = method.deprecated; }
120121
if (method.tags.length) { pathMethod.tags = method.tags; }

0 commit comments

Comments
 (0)