Skip to content

Commit 0a9d372

Browse files
committed
Merge branch 'master' of github.com:lichunqiang/yii2-swagger
2 parents 81b3220 + cc9fe94 commit 0a9d372

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
window.swaggerUi = new SwaggerUi({
3434
url: url,
3535
dom_id: "swagger-ui-container",
36-
supportedSubmitMethods: ['get', 'post', 'put', 'delete', 'patch'],
36+
supportedSubmitMethods: ['options', 'head', 'get', 'post', 'put', 'delete', 'patch'],
3737
onComplete: function(swaggerApi, swaggerUi){
3838
if(typeof initOAuth == "function") {
3939
initOAuth(<?= json_encode($oauthConfig) ?>);

0 commit comments

Comments
 (0)