summaryrefslogtreecommitdiff
path: root/t/specs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--t/specs/api2.json20
1 files changed, 20 insertions, 0 deletions
diff --git a/t/specs/api2.json b/t/specs/api2.json
new file mode 100644
index 0000000..7341405
--- /dev/null
+++ b/t/specs/api2.json
@@ -0,0 +1,20 @@
+{
+ "name": "Test API",
+ "methods" : {
+ "get_projects" : {
+ "authentication": true,
+ "path" : "/projects/show",
+ "method" : "GET",
+ "optional_params" : [
+ "name"
+ ]
+ },
+ "get_project_info" : {
+ "required_params" : [
+ "project"
+ ],
+ "path" : "/project/show",
+ "method" : "GET"
+ }
+ }
+}