Meu arquivo serverless.yml está assim :
service: myService disabledDeprecations:
- CODE_1 # To disable specific deprecation with code "CODE_1"
- '*' # To disable all deprecation messages frameworkVersion: '2'
provider: name: aws runtime: nodejs12.x stage: dev region: us-east-1 lambdaHashingVersion: 20201221
functions: patientsList: handler: handler.patientsList events:
- http
path: patients
method: get
mas está retornando none para o end point, como posso resolver ?