Reference to a external swagger api definition

This works great except for when using the serverless-offline plugin. Does anyone have any strategy to combine the two in your project?