strongloop/strong-remoting — pull request #37 by bajtos (2014-01-21 16:00:42+00:00)
Title: Improve remoting metadata - Add ctor.http to SharedClass

The SharedClass has the `http` property always set now. If the
ctor does not provide `http.path`, a default value of `'/' + name` is
used. This way we can decouple the REST (HTTP) routing from the model
name and make the REST path accessible from any external code.

The second part of the commit modifies ext/swagger to use this new
property.

/to: @ritch please review
/cc: @raymondfeng @Schoonology

This is the first pull requests in the upcoming series of changes that will make it super easy to generate client code from metadata provided by `RemoteObjects` via `classes()`.