serverless-plugin-model
v0.4.0
Published
Serverless plugin for API models
Downloads
4
Readme
Serverless Plugin: Model
A serverless plugin for API models.
Usage
service: api
...
functions:
login:
handler: lib/functions/login/login.handler
events:
- http:
path: login
method: post
request:
model: ${file(src/functions/login/request.json)}
response:
model: ${file(src/functions/login/response.json)}