Skip to content

Commit 29416b4

Browse files
committed
fix(specs): authenticationType can't be none
1 parent da50b36 commit 29416b4

File tree

2 files changed

+2
-11
lines changed

2 files changed

+2
-11
lines changed

specs/ingestion/common/authenticationParameters.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ type:
88
schema:
99
type: array
1010
items:
11-
$ref: '#/authenticationTypeWithNone'
12-
example: basic,oauth,none
11+
$ref: './schemas/authentication.yml#/AuthenticationType'
12+
example: basic,oauth
1313

1414
platform:
1515
name: platform
@@ -23,8 +23,3 @@ platform:
2323
items:
2424
$ref: './schemas/authentication.yml#/Platform'
2525
example: commercetools,bigcommerce
26-
27-
authenticationTypeWithNone:
28-
oneOf:
29-
- $ref: './schemas/authentication.yml#/AuthenticationType'
30-
- $ref: './schemas/authentication.yml#/AuthenticationNone'

specs/ingestion/common/schemas/authentication.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,6 @@ AuthenticationType:
9797
type: string
9898
enum: ['googleServiceAccount', 'basic', 'apiKey', 'oauth', 'algolia']
9999

100-
AuthenticationNone:
101-
type: string
102-
enum: ['none']
103-
104100
Platform:
105101
type: string
106102
enum: ['bigcommerce', 'commercetools']

0 commit comments

Comments
 (0)