Skip to content

feat(workflowengine): Add openapi for workflow engine#58278

Open
nickvergessen wants to merge 1 commit intomasterfrom
techdebt/noid/openapi-for-workflow-engine
Open

feat(workflowengine): Add openapi for workflow engine#58278
nickvergessen wants to merge 1 commit intomasterfrom
techdebt/noid/openapi-for-workflow-engine

Conversation

@nickvergessen
Copy link
Member

Checklist

@nickvergessen nickvergessen added this to the Nextcloud 34 milestone Feb 12, 2026
@nickvergessen nickvergessen self-assigned this Feb 12, 2026
@nickvergessen nickvergessen requested review from ArtificialOwl, come-nc and icewind1991 and removed request for a team February 12, 2026 08:59
Signed-off-by: Joas Schilling <coding@schilljs.com>
@nickvergessen nickvergessen force-pushed the techdebt/noid/openapi-for-workflow-engine branch from 5fc69c9 to 51ba71f Compare February 12, 2026 09:03
Copy link
Member

@provokateurin provokateurin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, only two small things 👍

Comment on lines +56 to 57
/** @var list<WorkflowEngineRule> $operationsByClass */
$operationsByClass = $this->manager->getAllOperations($this->getScopeContext());
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please set the return type on the method instead

Copy link
Member Author

@nickvergessen nickvergessen Feb 12, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That does not work, actually its wrong here as well. It's only true after the format call, but didn't know where else to add it.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that adding the type to the return annotation of formatOperation should work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants