Permalink
Browse files

Fixed listing of multiple methods under the same slug

  • Loading branch information...
1 parent 658f10e commit 627af584efd0678bcbaefd9b7dd7d588e7477310 @sergeychernyshev sergeychernyshev committed Aug 27, 2016
Showing with 3 additions and 3 deletions.
  1. +3 −3 api.php
View
@@ -73,9 +73,9 @@
$operation['parameters'][] = $param_spec;
}
- $swagger_spec['paths']["/api.php?call=/$namespace_slug$endpoint_slug"] = array(
- strtolower($method) => $operation
- );
+ $swagger_spec['paths']
+ ["/api.php?call=/$namespace_slug$endpoint_slug"]
+ [strtolower($method)] = $operation;
}
}
}

0 comments on commit 627af58

Please sign in to comment.