I think a few functions may need to bubble up the errors so that we can prevent invalid input early on. Incidents like an invalid yaml input could potentially crash the openmock server and may need manual interaction from the redis server.
|
func swaggerToOpenmockMock(swagger model.Mock) (om openmock.Mock) { |