Skip to content

Commit

Permalink
remove oneOf, seems to cause client generation to fail
Browse files Browse the repository at this point in the history
  • Loading branch information
jsok committed Feb 28, 2024
1 parent 5c3d2f1 commit bd17c17
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions specs/ingestion/common/schemas/task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -302,29 +302,19 @@ MappingKitAction:
- trigger
- fieldDirectives

MappingInputFormat:
type: string
description: Name of the mapping format schema.
enum: ['mappingkit/v1']

MappingKitInput:
MappingInput:
type: object
additionalProperties: false
description: Transformations to apply to source, serialized as a JSON string.
properties:
format:
$ref: '#/MappingInputFormat'
description: Name of the mapping format schema, `mappingkit/v1` is currently the only supported format.
type: string
actions:
type: array
items:
$ref: '#/MappingKitAction'

MappingInput:
oneOf:
- $ref: '#/MappingKitInput'
discriminator:
propertyName: format

OnDemandDateUtilsInput:
type: object
additionalProperties: false
Expand Down

0 comments on commit bd17c17

Please sign in to comment.