Skip to content

Commit

Permalink
# discriminator: type object
Browse files Browse the repository at this point in the history
Signed-off-by: Theo Truong <[email protected]>
  • Loading branch information
nhtruong committed May 14, 2024
1 parent 77d22ea commit 78f7daf
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions spec/schemas/_common.aggregations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2867,6 +2867,7 @@ components:
missing:
$ref: '#/components/schemas/Missing'
MovingAverageAggregation:
type: object
discriminator:
propertyName: model
oneOf:
Expand Down
5 changes: 5 additions & 0 deletions spec/schemas/_common.analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ paths: {}
components:
schemas:
Analyzer:
type: object
discriminator:
propertyName: type
oneOf:
Expand Down Expand Up @@ -351,6 +352,7 @@ components:
- type: string
- $ref: '#/components/schemas/CharFilterDefinition'
CharFilterDefinition:
type: object
discriminator:
propertyName: type
oneOf:
Expand Down Expand Up @@ -447,6 +449,7 @@ components:
- type: string
- $ref: '#/components/schemas/TokenFilterDefinition'
TokenFilterDefinition:
type: object
discriminator:
propertyName: type
oneOf:
Expand Down Expand Up @@ -1473,6 +1476,7 @@ components:
required:
- type
Normalizer:
type: object
discriminator:
propertyName: type
oneOf:
Expand Down Expand Up @@ -1509,6 +1513,7 @@ components:
- type: string
- $ref: '#/components/schemas/TokenizerDefinition'
TokenizerDefinition:
type: object
discriminator:
propertyName: type
oneOf:
Expand Down
1 change: 1 addition & 0 deletions spec/schemas/_common.mapping.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ components:
unmatch:
type: string
Property:
type: object
discriminator:
propertyName: type
oneOf:
Expand Down
1 change: 1 addition & 0 deletions spec/schemas/cluster.remote_info.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ paths: {}
components:
schemas:
ClusterRemoteInfo:
type: object
discriminator:
propertyName: mode
oneOf:
Expand Down

0 comments on commit 78f7daf

Please sign in to comment.