Serverless and swagger

what’s better way to document APIs with serverless framework? Can use Swagger with sls framework to document APIs?

If you are looking to define your API’s and document them in the same place, I don’t think anything exists right now. Previously I was using swagger to define and document my API’s in the same place, and used AWS tools to deploy it. It was not my favorite thing to do, and since I’ve embraced separation of concerns as the better way to do it. Now I just use (or some other documentation provider) and document things manually. They focus their attention on one problem and end up solving it really well.