File tree Expand file tree Collapse file tree 3 files changed +15
-5
lines changed Expand file tree Collapse file tree 3 files changed +15
-5
lines changed Original file line number Diff line number Diff line change @@ -10,8 +10,6 @@ Authentication:
10
10
type : string
11
11
platform :
12
12
$ref : ' #/PlatformType'
13
- input :
14
- $ref : ' #/AuthInput'
15
13
createdAt :
16
14
$ref : ' ./common.yml#/createdAt'
17
15
updatedAt :
@@ -23,6 +21,18 @@ Authentication:
23
21
- input
24
22
- createdAt
25
23
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
+
26
36
AuthenticationCreate :
27
37
type : object
28
38
additionalProperties : false
Original file line number Diff line number Diff line change @@ -98,10 +98,10 @@ SourceCommercetools:
98
98
type : string
99
99
locales :
100
100
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"].
101
103
items :
102
104
type : string
103
- description : >
104
- The string must match the following pattern: ^[a-z]{2}(-[A-Z]{2})?$. For example "fr-FR" or "en".
105
105
url :
106
106
type : string
107
107
projectKey :
Original file line number Diff line number Diff line change 12
12
content :
13
13
application/json :
14
14
schema :
15
- $ref : ' ../../common/schemas/authentication.yml#/Authentication '
15
+ $ref : ' ../../common/schemas/authentication.yml#/AuthenticationWithInput '
16
16
' 400 ' :
17
17
$ref : ' ../../../common/responses/BadRequest.yml'
18
18
You can’t perform that action at this time.
0 commit comments