updated readme

This commit is contained in:
Ayush Gupta
2012-07-17 18:34:26 -07:00
parent f2e63c65a7
commit 94d97efdc6

View File

@@ -37,8 +37,7 @@ swagger-ui supports invocation of all HTTP methods APIs but only GET methods API
For example if you wanted to enable GET, POST and PUT but not for DELETE, you'd set this as: For example if you wanted to enable GET, POST and PUT but not for DELETE, you'd set this as:
```supportedSubmitMethods: ['get', 'post', 'put'] supportedSubmitMethods: ['get', 'post', 'put']
```
_Note that for POST/PUT body, you'd need to paste in the request data in an appropriate format which your service can unmarshall_ _Note that for POST/PUT body, you'd need to paste in the request data in an appropriate format which your service can unmarshall_