Skip to content

Commit

Permalink
docs: fixes In decorator parameter usage
Browse files Browse the repository at this point in the history
  • Loading branch information
lamoglia authored and Romakita committed Sep 17, 2023
1 parent 9d01e53 commit b20618e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {CalendarModel} from "./models/Calendar";
@Controller("/calendars")
export class CalendarCtrl {
@Post("/")
@In("authorization").Type(String).Description("Bearer authorization")
@In("header").Name("authorization").Type(String).Description("Bearer authorization")
@Security("oidc")
async createCalendar(@BodyParams() body: any): Promise<CalendarModel> {
return {};
Expand Down

0 comments on commit b20618e

Please sign in to comment.