Skip to content

Commit

Permalink
chore: Upgrade Swagger UI library
Browse files Browse the repository at this point in the history
  • Loading branch information
ktutnik committed Dec 5, 2022
1 parent 05baf56 commit 64826e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/swagger/package.json
Expand Up @@ -19,7 +19,7 @@
"@types/swagger-ui-dist": "^3.30.1",
"ejs": "^3.1.8",
"openapi3-ts": "^2.0.2",
"swagger-ui-dist": "3.52.5"
"swagger-ui-dist": "^4.15.5"
},
"devDependencies": {
"cpy-cli": "^3.1.1"
Expand Down
2 changes: 1 addition & 1 deletion tests/manual/swagger/index.ts
Expand Up @@ -16,7 +16,7 @@ export class UsersController {
@route.get("")
@meta.type([User])
get(@api.description("Lorem ipsum dolor sit amet") @val.required() id: string) {
return 12
return [{ email: "abc@test.com", name: "Abc" }]
}
}

Expand Down

0 comments on commit 64826e1

Please sign in to comment.