How can I create an HTTP API with serverless framework so I can manage it in my .yml file? The documentations shows this:
functions:
testFunc:
name: lambdaName
handler: handler.hello
events:
- httpApi:
path: /v1/test
method: get
That would create the api but dependant on the function, how can I create the API here to configure it and use it on the function?
I want to be able to manage it on my .yml file