View file sdark.mobi/vendor/guzzle/guzzle/tests/Guzzle/Tests/TestData/test_service.json

File size: 1.15Kb
{
    "includes": [ "test_service2.json" ],
    "operations": {
        "test": {
            "uri": "/path"
        },
        "concrete": {
            "extends": "abstract"
        },
        "foo_bar": {
            "uri": "/testing",
            "parameters": {
                "other": {
                    "location": "json",
                    "location_key": "Other"
                },
                "test": {
                    "type": "object",
                    "location": "json",
                    "properties": {
                        "baz": {
                            "type": "boolean",
                            "default": true
                        },
                        "bar": {
                            "type": "string",
                            "filters": [
                                {
                                    "method": "strtolower",
                                    "args": ["test", "@value"]
                                },
                                "strtoupper"
                            ]
                        }
                    }
                }
            }
        }
    }
}