code: func (c *ContextTemplateData) IterateResponses(it func(*design.ResponseDefinition) error) error {
  	m := make(map[int]*design.ResponseDefinition, len(c.Responses))
  	var s []int
  	for _, resp := range c.Responses {
  		status := resp.Status
  		m[status] = resp
  		s = append(s, status)
  	}
  	sort.Ints(s)
  	for _, status := range s {
  		if err := it(m[status]); err != nil {
  			return err
  		}
  	}
  	return nil
  }
docs: // IterateResponses iterates through the responses sorted by status code.