Skip to content

Commit

Permalink
Fix dynamic declarative stream schema
Browse files Browse the repository at this point in the history
  • Loading branch information
lazebnyi committed Nov 29, 2024
1 parent c30b43f commit d0d7107
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2783,6 +2783,9 @@ definitions:
type: object
description: A component that described how will be created declarative streams based on stream template. (This component is experimental. Use at your own risk.)
properties:
type:
type: string
enum: [ DynamicDeclarativeStream ]
stream_template:
title: Stream Template
description: Reference to the stream template.
Expand All @@ -2792,6 +2795,7 @@ definitions:
description: Component resolve and populates stream templates with components values.
"$ref": "#/definitions/HttpComponentsResolver"
required:
- type
- stream_template
- components_resolver
interpolation:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1838,6 +1838,7 @@ class HttpComponentsResolver(BaseModel):


class DynamicDeclarativeStream(BaseModel):
type: Literal["DynamicDeclarativeStream"]
stream_template: DeclarativeStream = Field(
..., description="Reference to the stream template.", title="Stream Template"
)
Expand Down

0 comments on commit d0d7107

Please sign in to comment.