support for non GET methods. Closes #15

This commit is contained in:
Ayush Gupta
2012-07-17 18:31:38 -07:00
parent f42a3bf687
commit f2e63c65a7
14 changed files with 239 additions and 37 deletions

View File

@@ -104,6 +104,11 @@ div.heading_with_menu {
box-sizing: border-box;
margin-top: 10px; }
.body-textarea {
width: 300px;
height: 100px;
}
p {
line-height: 1.4em;
padding: 0 0 10px 0;

View File

@@ -45,7 +45,8 @@
discoveryUrl:"http://petstore.swagger.wordnik.com/api/resources.json",
apiKey:"special-key",
dom_id:"swagger-ui-container",
supportHeaderParams: false
supportHeaderParams: false,
supportedSubmitMethods: ['get', 'post', 'put']
});
window.swaggerUi.load();