summaryrefslogtreecommitdiff
path: root/vendor/guzzle/guzzle/tests/Guzzle/Tests/TestData/test_service.json
blob: 01557ca11dab7c8176d300975a03c258d53f55ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{
    "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"
                            ]
                        }
                    }
                }
            }
        }
    }
}