Service Definition examples don't work

Trying to get a basic service definition working. This is a slimmed down Twilio example that dreamfactory makes available. Tested it on http://editor.swagger.io/ which found some errors I had to change but still not working. You guys should update these examples so that they actually work.

{
"swagger": "2.0",
"info": {
	"title": "Twilio Account API",
	"description": "Twilio is a cloud communications Infrastructure as a Service(IaaS) company based in San Francisco, California. Twilio allows software developers to programmatically make and receive phone calls and send and receive text messages using its web service APIs. Twilio's services are accessed over HTTP and are billed based on usage.",
	"termsOfService": "https://www.twilio.com/legal/tos",
	"version": "2010-04-01"
},
"host": "api.twilio.com",
"basePath": "/2010-04-01",
"schemes": [
	"https"
],
"produces": [
	"application/json"
],
"consumes": [
	"application/json"
],
"paths": {
	"/{AccountSid}.{format}": {
		"get": {
			"summary": "Get Account",
			"description": "GetAccount",
			"operationId": "getaccount",
			"parameters": [
				{
				  "required": true,
					"in": "path",
					"name": "AccountSid",
					"type": "string"
				},
				{
				  "required": true,
					"in": "path",
					"name": "format",
					"type": "string"
				}
			],
			"responses": {
				"200": {
					"description": "OK"
				}
			},
		}
	}
},
"definitions": {}

}

For anyone else having problems with this. When using parameters, you need to define type as schema.

So instead of

  "type": "string"

You do

"schema": {
    "type": "string"
}

It would have saved me a few hours if these examples provided by dreamfactory were updated so that they actually work.