Skip to content

Commit c2af33c

Browse files
committed
fix(specs): remove input from auth list
1 parent 758163d commit c2af33c

File tree

3 files changed

+15
-5
lines changed

3 files changed

+15
-5
lines changed

specs/ingestion/common/schemas/authentication.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ Authentication:
1010
type: string
1111
platform:
1212
$ref: '#/PlatformType'
13-
input:
14-
$ref: '#/AuthInput'
1513
createdAt:
1614
$ref: './common.yml#/createdAt'
1715
updatedAt:
@@ -23,6 +21,18 @@ Authentication:
2321
- input
2422
- createdAt
2523

24+
AuthenticationWithInput:
25+
allOf:
26+
- $ref: '#/Authentication'
27+
- type: object
28+
title: authenticationInput
29+
additionalProperties: false
30+
properties:
31+
input:
32+
$ref: '#/AuthInput'
33+
required:
34+
- input
35+
2636
AuthenticationCreate:
2737
type: object
2838
additionalProperties: false

specs/ingestion/common/schemas/source.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,10 @@ SourceCommercetools:
9898
type: string
9999
locales:
100100
type: array
101+
description: >
102+
Array of locales that must match the following pattern: ^[a-z]{2}(-[A-Z]{2})?$. For example ["fr-FR", "en"].
101103
items:
102104
type: string
103-
description: >
104-
The string must match the following pattern: ^[a-z]{2}(-[A-Z]{2})?$. For example "fr-FR" or "en".
105105
url:
106106
type: string
107107
projectKey:

specs/ingestion/paths/authentications/authenticationID.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ get:
1212
content:
1313
application/json:
1414
schema:
15-
$ref: '../../common/schemas/authentication.yml#/Authentication'
15+
$ref: '../../common/schemas/authentication.yml#/AuthenticationWithInput'
1616
'400':
1717
$ref: '../../../common/responses/BadRequest.yml'
1818

0 commit comments

Comments
 (0)