Skip to content

Commit 00991f7

Browse files
bearytanhe123
authored andcommitted
示例中的openIdApiType中的id的i需要大写 (#75)
* openIdApiType中的id的i需要大写
1 parent 0bf8802 commit 00991f7

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

examples/openid_connect/template.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Resources:
3030
x-aliyun-apigateway-auth-type: 'APPOPENID'
3131
x-aliyun-apigateway-open-id-connect-config:
3232
idTokenParamName: 'token'
33-
openidApiType: 'BUSINESS'
33+
openIdApiType: 'BUSINESS'
3434
x-aliyun-apigateway-fc:
3535
arn: acs:fc:::services/${fc.Arn}/functions/${helloworld.Arn}/
36-
36+

test/deploy/deploy-by-tpl.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ describe('deploy', () => {
148148
auth: {
149149
config: {
150150
'idTokenParamName': 'token',
151-
'openidApiType': 'BUSINESS'
151+
'openIdApiType': 'BUSINESS'
152152
},
153153
type: 'APPOPENID'
154154
},
@@ -456,4 +456,4 @@ describe('deploy', () => {
456456
resultConfig: { failResultSample: undefined, resultSample: undefined, resultType: undefined }, serviceTimeout: 3000
457457
});
458458
});
459-
});
459+
});

0 commit comments

Comments
 (0)