Route Model
The Route Model
shares the same characteristics as a regular model. The difference lies in the fact that route models, as the name suggests, are assigned to a specific Route
and are generated during its creation. Route models related to a specific route should be contained within a single file in the directory where the route is located. Their use is limited to defining the contents of the request
and response
.
Last updated