File tree Expand file tree Collapse file tree 3 files changed +15
-3
lines changed Expand file tree Collapse file tree 3 files changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -21,5 +21,10 @@ platform:
21
21
schema :
22
22
type : array
23
23
items :
24
- $ref : ' ./schemas/authentication.yml#/Platform'
25
- example : commercetools,bigcommerce
24
+ $ref : ' #/platformWithNone'
25
+ example : commercetools,none
26
+
27
+ platformWithNone :
28
+ oneOf :
29
+ - $ref : ' ./schemas/authentication.yml#/Platform'
30
+ - $ref : ' ./schemas/authentication.yml#/PlatformNone'
Original file line number Diff line number Diff line change @@ -101,6 +101,10 @@ Platform:
101
101
type : string
102
102
enum : ['bigcommerce', 'commercetools']
103
103
104
+ PlatformNone :
105
+ type : string
106
+ enum : ['none']
107
+
104
108
AuthGoogleServiceAccount :
105
109
type : object
106
110
additionalProperties : false
Original file line number Diff line number Diff line change @@ -14,11 +14,14 @@ type:
14
14
authenticationID :
15
15
name : authenticationID
16
16
in : query
17
- description : Which authenticationID the returned source should have. Can be a list of string separated with commas.
17
+ description : >-
18
+ Which authenticationID the returned source should have. Can be a list of string separated with commas.
19
+ Also supports 'none' as a value to return sources that don't bring any authentication.
18
20
required : false
19
21
style : form
20
22
explode : false
21
23
schema :
22
24
type : array
23
25
items :
24
26
type : string
27
+ example : 10000000-0a75-4000-a000-000000000001,none
You can’t perform that action at this time.
0 commit comments