Skip to content

Commit ee4279a

Browse files
committed
fix
1 parent 8df0e04 commit ee4279a

File tree

9 files changed

+24
-24
lines changed

9 files changed

+24
-24
lines changed

typespec/http-api/services/commentsService.tsp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,18 @@ interface CommentService {
2525
@query select?: string
2626
): Comment;
2727

28-
@useAuth(BearerAuth, BasicAuth)
28+
@useAuth([BearerAuth, BasicAuth])
2929
@post
3030
op create(...NewCommentDto): Comment;
3131

32-
@useAuth(BearerAuth, BasicAuth)
32+
@useAuth([BearerAuth, BasicAuth])
3333
@patch
3434
@opExample(
3535
#{ parameters: #{ id: "238593a0-b8d4-4bf6-beda-48ce6ba093bc" } }
3636
)
3737
op update(@path id: string, ...EditCommentDto): Comment;
3838

39-
@useAuth(BearerAuth, BasicAuth)
39+
@useAuth([BearerAuth, BasicAuth])
4040
@delete
4141
@opExample(
4242
#{ parameters: #{ id: "238593a0-b8d4-4bf6-beda-48ce6ba093bc" } }

typespec/http-api/services/postsService.tsp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,18 +27,18 @@ interface PostService {
2727
@query select?: string
2828
): Post;
2929

30-
@useAuth(BearerAuth, BasicAuth)
30+
@useAuth([BearerAuth, BasicAuth])
3131
@post
3232
op create(...NewPostDto): Post;
3333

34-
@useAuth(BearerAuth, BasicAuth)
34+
@useAuth([BearerAuth, BasicAuth])
3535
@patch
3636
@opExample(
3737
#{ parameters: #{ id: "fb5e19a3-ab33-423b-9cec-8ee4ef211c61" } }
3838
)
3939
op update(@path id: string, ...EditPostDto): Post;
4040

41-
@useAuth(BearerAuth, BasicAuth)
41+
@useAuth([BearerAuth, BasicAuth])
4242
@delete
4343
@opExample(
4444
#{ parameters: #{ id: "fb5e19a3-ab33-423b-9cec-8ee4ef211c61" } }

typespec/http-api/services/usersService.tsp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,14 @@ interface UserService {
3333
@post
3434
op create(...NewUserDto): User;
3535

36-
@useAuth(BearerAuth, BasicAuth)
36+
@useAuth([BearerAuth, BasicAuth])
3737
@patch
3838
@opExample(
3939
#{ parameters: #{ id: "a788f3fc-0d47-4d55-b18b-09bae52dac7b" } }
4040
)
4141
op update(@path id: string, ...EditUserDto): User;
4242

43-
@useAuth(BearerAuth, BasicAuth)
43+
@useAuth([BearerAuth, BasicAuth])
4444
@delete
4545
@opExample(
4646
#{ parameters: #{ id: "a788f3fc-0d47-4d55-b18b-09bae52dac7b" } }

typespec/http-protocol/services/commentsService.tsp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,18 @@ interface CommentService {
2525
@query select?: string
2626
): Comment;
2727

28-
@useAuth(BearerAuth, BasicAuth)
28+
@useAuth([BearerAuth, BasicAuth])
2929
@post
3030
op create(...NewCommentDto): Comment;
3131

32-
@useAuth(BearerAuth, BasicAuth)
32+
@useAuth([BearerAuth, BasicAuth])
3333
@patch
3434
@opExample(
3535
#{ parameters: #{ id: "238593a0-b8d4-4bf6-beda-48ce6ba093bc" } }
3636
)
3737
op update(@path id: string, ...EditCommentDto): Comment;
3838

39-
@useAuth(BearerAuth, BasicAuth)
39+
@useAuth([BearerAuth, BasicAuth])
4040
@delete
4141
@opExample(
4242
#{ parameters: #{ id: "238593a0-b8d4-4bf6-beda-48ce6ba093bc" } }

typespec/http-protocol/services/postsService.tsp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,18 +27,18 @@ interface PostService {
2727
@query select?: string
2828
): Post;
2929

30-
@useAuth(BearerAuth, BasicAuth)
30+
@useAuth([BearerAuth, BasicAuth])
3131
@post
3232
op create(...NewPostDto): Post;
3333

34-
@useAuth(BearerAuth, BasicAuth)
34+
@useAuth([BearerAuth, BasicAuth])
3535
@patch
3636
@opExample(
3737
#{ parameters: #{ id: "fb5e19a3-ab33-423b-9cec-8ee4ef211c61" } }
3838
)
3939
op update(@path id: string, ...EditPostDto): Post;
4040

41-
@useAuth(BearerAuth, BasicAuth)
41+
@useAuth([BearerAuth, BasicAuth])
4242
@delete
4343
@opExample(
4444
#{ parameters: #{ id: "fb5e19a3-ab33-423b-9cec-8ee4ef211c61" } }

typespec/http-protocol/services/usersService.tsp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,14 @@ interface UserService {
3333
@post
3434
op create(...NewUserDto): User;
3535

36-
@useAuth(BearerAuth, BasicAuth)
36+
@useAuth([BearerAuth, BasicAuth])
3737
@patch
3838
@opExample(
3939
#{ parameters: #{ id: "a788f3fc-0d47-4d55-b18b-09bae52dac7b" } }
4040
)
4141
op update(@path id: string, ...EditUserDto): User;
4242

43-
@useAuth(BearerAuth, BasicAuth)
43+
@useAuth([BearerAuth, BasicAuth])
4444
@delete
4545
@opExample(
4646
#{ parameters: #{ id: "a788f3fc-0d47-4d55-b18b-09bae52dac7b" } }

typespec/postman/services/commentsService.tsp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,18 @@ interface CommentService {
2525
@query select?: string
2626
): Comment;
2727

28-
@useAuth(BearerAuth, BasicAuth)
28+
@useAuth([BearerAuth, BasicAuth])
2929
@post
3030
op create(...NewCommentDto): Comment;
3131

32-
@useAuth(BearerAuth, BasicAuth)
32+
@useAuth([BearerAuth, BasicAuth])
3333
@patch
3434
@opExample(
3535
#{ parameters: #{ id: "238593a0-b8d4-4bf6-beda-48ce6ba093bc" } }
3636
)
3737
op update(@path id: string, ...EditCommentDto): Comment;
3838

39-
@useAuth(BearerAuth, BasicAuth)
39+
@useAuth([BearerAuth, BasicAuth])
4040
@delete
4141
@opExample(
4242
#{ parameters: #{ id: "238593a0-b8d4-4bf6-beda-48ce6ba093bc" } }

typespec/postman/services/postsService.tsp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,18 +27,18 @@ interface PostService {
2727
@query select?: string
2828
): Post;
2929

30-
@useAuth(BearerAuth, BasicAuth)
30+
@useAuth([BearerAuth, BasicAuth])
3131
@post
3232
op create(...NewPostDto): Post;
3333

34-
@useAuth(BearerAuth, BasicAuth)
34+
@useAuth([BearerAuth, BasicAuth])
3535
@patch
3636
@opExample(
3737
#{ parameters: #{ id: "fb5e19a3-ab33-423b-9cec-8ee4ef211c61" } }
3838
)
3939
op update(@path id: string, ...EditPostDto): Post;
4040

41-
@useAuth(BearerAuth, BasicAuth)
41+
@useAuth([BearerAuth, BasicAuth])
4242
@delete
4343
@opExample(
4444
#{ parameters: #{ id: "fb5e19a3-ab33-423b-9cec-8ee4ef211c61" } }

typespec/postman/services/usersService.tsp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,14 @@ interface UserService {
3333
@post
3434
op create(...NewUserDto): User;
3535

36-
@useAuth(BearerAuth, BasicAuth)
36+
@useAuth([BearerAuth, BasicAuth])
3737
@patch
3838
@opExample(
3939
#{ parameters: #{ id: "a788f3fc-0d47-4d55-b18b-09bae52dac7b" } }
4040
)
4141
op update(@path id: string, ...EditUserDto): User;
4242

43-
@useAuth(BearerAuth, BasicAuth)
43+
@useAuth([BearerAuth, BasicAuth])
4444
@delete
4545
@opExample(
4646
#{ parameters: #{ id: "a788f3fc-0d47-4d55-b18b-09bae52dac7b" } }

0 commit comments

Comments
 (0)