@@ -156,8 +156,10 @@ $defs:
156
156
type : object
157
157
description : The payload to call the AsyncAPI operation with, if any.
158
158
authentication :
159
- $ref : ' #/$defs/authenticationPolicy'
160
159
description : The authentication policy, if any, to use when calling the AsyncAPI operation.
160
+ oneOf :
161
+ - $ref : ' #/$defs/authenticationPolicy'
162
+ - type : string
161
163
required : [ document, operationRef ]
162
164
description : Defines the AsyncAPI call to perform.
163
165
required : [ call, with ]
@@ -187,8 +189,10 @@ $defs:
187
189
max : 65535
188
190
description : The port number of the GRPC service to call.
189
191
authentication :
190
- $ref : ' #/$defs/authenticationPolicy'
191
192
description : The endpoint's authentication policy, if any.
193
+ oneOf :
194
+ - $ref : ' #/$defs/authenticationPolicy'
195
+ - type : string
192
196
required : [ name, host ]
193
197
method :
194
198
type : string
@@ -243,8 +247,10 @@ $defs:
243
247
additionalProperties : true
244
248
description : A name/value mapping of the parameters of the OpenAPI operation to call.
245
249
authentication :
246
- $ref : ' #/$defs/authenticationPolicy'
247
250
description : The authentication policy, if any, to use when calling the OpenAPI operation.
251
+ oneOf :
252
+ - $ref : ' #/$defs/authenticationPolicy'
253
+ - type : string
248
254
output :
249
255
type : string
250
256
enum : [ raw, content, response ]
@@ -668,8 +674,10 @@ $defs:
668
674
format : uri
669
675
description : The endpoint's URI.
670
676
authentication :
671
- $ref : ' #/$defs/authenticationPolicy'
672
677
description : The authentication policy to use.
678
+ oneOf :
679
+ - $ref : ' #/$defs/authenticationPolicy'
680
+ - type : string
673
681
required : [ uri ]
674
682
eventConsumptionStrategy :
675
683
type : object
@@ -761,8 +769,10 @@ $defs:
761
769
format : uri
762
770
description : The endpoint's URI.
763
771
authentication :
764
- $ref : ' #/$defs/authenticationPolicy'
765
772
description : The authentication policy to use.
773
+ oneOf :
774
+ - $ref : ' #/$defs/authenticationPolicy'
775
+ - type : string
766
776
name :
767
777
type : string
768
778
description : The external resource's name, if any.
0 commit comments