loopback/node_modules/model-route/README.md

22 lines
393 B
Markdown

# model route
## About
A `ModelRoute` inherits from the [route](../route) class. It provides HTTP access to a supplied [model](../model) instance.
## Config
Supports all configuration of a [resource](../route).
### Options
#### name (optional)
If defined, overrides the default name (based on the path).
### Dependencies
#### model
Requires a path to an existing model instance.