code: func (rt *ResourceType) postProcess(name string, traitsMap map[string]Trait, apiDef *APIDefinition) {
  	rt.Name = name
  	rt.setMethods(traitsMap, apiDef)
  	rt.setOptionalMethods()
  
  	// TODO : inherit from other resource type
  
  	// TODO : apply traits
  }
docs: // postProcess doing post processing of a resource type after being constructed
  // by the .raml parser, some of the works:
  // - assign all properties that can't be obtained from RAML document
  // - inherit from other resource type
  // - apply traits