code: func (m *Method) postProcess(r *Resource, name string, traitsMap map[string]Trait, apiDef *APIDefinition) {
  	m.Name = name
  	m.inheritFromTraits(r, append(r.Is, m.Is...), traitsMap, apiDef)
  	r.Methods = append(r.Methods, m)
  
  	// post process the responses
  	resps := make(map[HTTPCode]Response)
  	for code, resp := range m.Responses {
  		resp.postProcess()
  		resps[code] = resp
  	}
  	m.Responses = resps
  
  	// post process request body
  	m.Bodies.postProcess()
  }
docs: // doing post processing that can't be done by YAML parser