diff --git a/src/index.php b/src/index.php index b6918ef..3b3498c 100644 --- a/src/index.php +++ b/src/index.php @@ -33,7 +33,7 @@ window.swaggerUi = new SwaggerUi({ url: url, dom_id: "swagger-ui-container", - supportedSubmitMethods: ['get', 'post', 'put', 'delete', 'patch'], + supportedSubmitMethods: ['options', 'head', 'get', 'post', 'put', 'delete', 'patch'], onComplete: function(swaggerApi, swaggerUi){ if(typeof initOAuth == "function") { initOAuth();