mirror of
https://github.com/kestra-io/kestra.git
synced 2025-12-19 18:05:41 -05:00
fix: set FlowWithSource as implementation for getFlow method (#12644)
This commit is contained in:
@@ -164,7 +164,7 @@ public class FlowController {
|
||||
@Get(uri = "{namespace}/{id}")
|
||||
@Operation(tags = {"Flows"}, summary = "Get a flow")
|
||||
@Schema(
|
||||
oneOf = {FlowWithSource.class, Flow.class}
|
||||
implementation = FlowWithSource.class
|
||||
)
|
||||
//FIXME we return Object instead of Flow as Micronaut, since 4, has an issue with subtypes serialization, see https://github.com/micronaut-projects/micronaut-core/issues/10294.
|
||||
public Object getFlow(
|
||||
|
||||
Reference in New Issue
Block a user