@@ -159,8 +159,10 @@ $defs:
159
159
type : object
160
160
description : The payload to call the AsyncAPI operation with, if any.
161
161
authentication :
162
- $ref : ' #/$defs/authenticationPolicy'
163
162
description : The authentication policy, if any, to use when calling the AsyncAPI operation.
163
+ oneOf :
164
+ - $ref : ' #/$defs/authenticationPolicy'
165
+ - type : string
164
166
required : [ document, operationRef ]
165
167
description : Defines the AsyncAPI call to perform.
166
168
required : [ call, with ]
@@ -190,8 +192,10 @@ $defs:
190
192
max : 65535
191
193
description : The port number of the GRPC service to call.
192
194
authentication :
193
- $ref : ' #/$defs/authenticationPolicy'
194
195
description : The endpoint's authentication policy, if any.
196
+ oneOf :
197
+ - $ref : ' #/$defs/authenticationPolicy'
198
+ - type : string
195
199
required : [ name, host ]
196
200
method :
197
201
type : string
@@ -246,8 +250,10 @@ $defs:
246
250
additionalProperties : true
247
251
description : A name/value mapping of the parameters of the OpenAPI operation to call.
248
252
authentication :
249
- $ref : ' #/$defs/authenticationPolicy'
250
253
description : The authentication policy, if any, to use when calling the OpenAPI operation.
254
+ oneOf :
255
+ - $ref : ' #/$defs/authenticationPolicy'
256
+ - type : string
251
257
output :
252
258
type : string
253
259
enum : [ raw, content, response ]
@@ -674,8 +680,10 @@ $defs:
674
680
format : uri-template
675
681
description : The endpoint's URI.
676
682
authentication :
677
- $ref : ' #/$defs/authenticationPolicy'
678
683
description : The authentication policy to use.
684
+ oneOf :
685
+ - $ref : ' #/$defs/authenticationPolicy'
686
+ - type : string
679
687
required : [ uri ]
680
688
eventConsumptionStrategy :
681
689
type : object
@@ -770,8 +778,10 @@ $defs:
770
778
format : uri
771
779
description : The endpoint's URI.
772
780
authentication :
773
- $ref : ' #/$defs/authenticationPolicy'
774
781
description : The authentication policy to use.
782
+ oneOf :
783
+ - $ref : ' #/$defs/authenticationPolicy'
784
+ - type : string
775
785
name :
776
786
type : string
777
787
description : The external resource's name, if any.
0 commit comments