diff options
| author | franck cuny <franck@lumberjaph.net> | 2010-10-17 21:45:36 +0200 |
|---|---|---|
| committer | franck cuny <franck@lumberjaph.net> | 2010-10-17 21:45:36 +0200 |
| commit | 7c4e7ed42a318a10bca97a4b52c1765a769bdc1f (patch) | |
| tree | 43744ccedb7a23aa6b2682f24076994edf32aca2 /t/specs/api.json | |
| parent | don't rely on net::http::api::error (diff) | |
| download | net-http-spore-7c4e7ed42a318a10bca97a4b52c1765a769bdc1f.tar.gz | |
remove couchdb api; add dummy spec for tests
Diffstat (limited to 't/specs/api.json')
| -rw-r--r-- | t/specs/api.json | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/t/specs/api.json b/t/specs/api.json new file mode 100644 index 0000000..42e3c25 --- /dev/null +++ b/t/specs/api.json @@ -0,0 +1,24 @@ +{ + "name": "Test API", + "methods" : { + "get_info" : { + "authentication": true, + "path" : "/show", + "method" : "GET", + "optional_params" : [ + "user", + "border" + ] + }, + "get_user_info" : { + "required_params" : [ + "user" + ], + "optional_params" : [ + "border" + ], + "path" : "/show", + "method" : "GET" + } + } +} |
