File tree Expand file tree Collapse file tree 1 file changed +9
-10
lines changed 
specs/composition-full/common/params Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -46,17 +46,16 @@ externalInjectedItem:
4646    objectID :
4747      type : string 
4848    metadata :
49-       $ref : ' #/injectedItemMetadata' 
50-   description : | 
51-     An objectID injected into an external source. 
49+       type : object 
50+       additionalProperties : true 
51+       description : | 
52+         User-defined key-values that will be added to the injected item in the response. 
53+         This is identical to Hits metadata defined in Composition or Composition Rule, 
54+         with the benefit of being set at runtime. 
55+        example : {'my-field': 'my-value'} 
5256  required :
5357    - objectID 
58+   description : | 
59+     An objectID injected into an external source. 
5460   example : {'objectID': 'my-object-1', 'metadata': {'my-field': 'my-value'}} 
5561
56- injectedItemMetadata :
57-   type : object 
58-   additionalProperties : true 
59-   description : | 
60-     User defined key-values that will be added to injected item in the response. 
61-     This is identical to Hits metadata which is defined in Composition or Composition Rule, with the benefit of being set at runtime. 
62-    example : {'my-value': 'my-field'} 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments