code: func methodResponses(api *API, userResponses map[int]*Response, corsEnabled bool) *gocf.APIGatewayMethodMethodResponseList {
  
  	var responses gocf.APIGatewayMethodMethodResponseList
  	for eachHTTPStatusCode, eachResponse := range userResponses {
  		methodResponseParams := eachResponse.Parameters
  		if corsEnabled {
  			for eachString, eachBool := range corsMethodResponseParams(api) {
  				methodResponseParams[eachString] = eachBool
  			}
  		}
  		// Then transform them all to strings because internet
  		methodResponseStringParams := make(map[string]string, len(methodResponseParams))
  		for eachKey, eachBool := range methodResponseParams {
  			methodResponseStringParams[eachKey] = fmt.Sprintf("%t", eachBool)
  		}
  		methodResponse := gocf.APIGatewayMethodMethodResponse{
  			StatusCode: gocf.String(strconv.Itoa(eachHTTPStatusCode)),
  		}
  		if len(methodResponseStringParams) != 0 {
  			methodResponse.ResponseParameters = methodResponseStringParams
  		}
  		responses = append(responses, methodResponse)
  	}
  	return &responses
  }
docs: // DefaultMethodResponses returns the default set of Method HTTPStatus->Response
  // pass through responses.  The successfulHTTPStatusCode param is the single
  // 2XX response code to use for the method.