code: func (s *Server) SetAPI(api *operations.TodoListAPI) {
  	if api == nil {
  		s.api = nil
  		s.handler = nil
  		return
  	}
  
  	s.api = api
  	s.api.Logger = log.Printf
  	s.handler = configureAPI(api)
  }
docs: // SetAPI configures the server with the specified API. Needs to be called before Serve