code: func (o *MultiAuthExampleAPI) Validate() error {
  	var unregistered []string
  
  	if o.JSONConsumer == nil {
  		unregistered = append(unregistered, "JSONConsumer")
  	}
  
  	if o.JSONProducer == nil {
  		unregistered = append(unregistered, "JSONProducer")
  	}
  
  	if o.HasRoleAuth == nil {
  		unregistered = append(unregistered, "HasRoleAuth")
  	}
  
  	if o.IsRegisteredAuth == nil {
  		unregistered = append(unregistered, "IsRegisteredAuth")
  	}
  
  	if o.IsResellerAuth == nil {
  		unregistered = append(unregistered, "XCustomKeyAuth")
  	}
  
  	if o.IsResellerQueryAuth == nil {
  		unregistered = append(unregistered, "CustomKeyAsQueryAuth")
  	}
  
  	if o.AddOrderHandler == nil {
  		unregistered = append(unregistered, "AddOrderHandler")
  	}
  
  	if o.GetAccountHandler == nil {
  		unregistered = append(unregistered, "GetAccountHandler")
  	}
  
  	if o.GetItemsHandler == nil {
  		unregistered = append(unregistered, "GetItemsHandler")
  	}
  
  	if o.GetOrderHandler == nil {
  		unregistered = append(unregistered, "GetOrderHandler")
  	}
  
  	if o.GetOrdersForItemHandler == nil {
  		unregistered = append(unregistered, "GetOrdersForItemHandler")
  	}
  
  	if len(unregistered) > 0 {
  		return fmt.Errorf("missing registration: %s", strings.Join(unregistered, ", "))
  	}
  
  	return nil
  }
docs: // Validate validates the registrations in the MultiAuthExampleAPI