code: func (g GenStatusCodeResponses) MarshalJSON() ([]byte, error) {
  	if g == nil {
  		return nil, nil
  	}
  	var buf bytes.Buffer
  	buf.WriteRune('{')
  	for i, v := range g {
  		rb, err := json.Marshal(v)
  		if err != nil {
  			return nil, err
  		}
  		if i > 0 {
  			buf.WriteRune(',')
  		}
  		buf.WriteString(fmt.Sprintf("%q:", strconv.Itoa(v.Code)))
  		buf.Write(rb)
  	}
  	buf.WriteRune('}')
  	return buf.Bytes(), nil
  }
docs: // MarshalJSON marshals these responses to json