Skip to content

Commit 0a2652f

Browse files
committed
feat(specs): add none element to authentication platform
1 parent 76194dd commit 0a2652f

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

specs/ingestion/common/authenticationParameters.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,11 @@ platform:
2121
schema:
2222
type: array
2323
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'
31+

specs/ingestion/common/schemas/authentication.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,10 @@ Platform:
101101
type: string
102102
enum: ['bigcommerce', 'commercetools']
103103

104+
PlatformNone:
105+
type: string
106+
enum: ['none']
107+
104108
AuthGoogleServiceAccount:
105109
type: object
106110
additionalProperties: false

0 commit comments

Comments
 (0)