We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86c6168 commit dd4fdefCopy full SHA for dd4fdef
specs/ingestion/common/schemas/source.yml
@@ -87,7 +87,7 @@ SourceUpdateResponse:
87
88
SourceType:
89
type: string
90
- enum: ['bigcommerce', 'commercetools']
+ enum: ['bigcommerce', 'commercetools', 'json']
91
92
SourceCommercetools:
93
type: object
@@ -120,7 +120,23 @@ SourceBigCommerce:
120
required:
121
- store_hash
122
123
+MethodType:
124
+ type: string
125
+ enum: ['GET', 'POST']
126
+
127
+SourceJson:
128
+ type: object
129
+ additionalProperties: false
130
+ properties:
131
+ url:
132
133
+ method:
134
+ $ref: '#/MethodType'
135
+ required:
136
+ - url
137
138
SourceInput:
139
oneOf:
140
- $ref: '#/SourceCommercetools'
141
- $ref: '#/SourceBigCommerce'
142
+ - $ref: '#/SourceJson'
0 commit comments