Skip to content

docs(engine-rest): fix task local variable OpenAPI examples - #3092

Merged
kthoms merged 1 commit into
mainfrom
backport/cibseven-823-task-local-variable-doc-examples
Jun 11, 2026
Merged

kthoms merged 1 commit into
mainfrom
backport/cibseven-823-task-local-variable-doc-examples

Conversation

@hauptmedia

Copy link
Copy Markdown
Collaborator

Description

Backports a small REST documentation fix from CIBSeven for the task local variable OpenAPI examples.

The affected templates describe endpoints under /task/{id}/localVariables, but several example summaries still used /task/{id}/variables. This makes the examples point to the regular task variable endpoints instead of the local task variable endpoints.

This PR updates only those example summaries so they consistently use /task/aTaskId/localVariables and /task/aTaskId/localVariables/{varName} in the task local variable documentation.

Attribution

Backported from CIBSeven:

Verification

  • git diff --check
  • ./mvnw -pl engine-rest/engine-rest-openapi -am -DskipTests -Dskip.frontend.build=true package

The OpenAPI build generated and validated openapi.json, generated the Java client, and compiled the generated test sources with tests skipped.

Related to cibseven/cibseven@f6da48f

Backported commit f6da48f993de634eaf2ca9c06bd27b4977c7b2ea from the cibseven repository.

Original author: patrickCIB <[email protected]>

Backport change unit: 823
@hauptmedia hauptmedia added the backport:cibseven Changes backported from cibseven label Jun 9, 2026
@sonarqubecloud

sonarqubecloud Bot commented Jun 9, 2026

Copy link
Copy Markdown

@kthoms kthoms added backport:patch-release Should be ported back to the latest feature release branch. api:rest Changes affecting the REST API labels Jun 11, 2026
@kthoms kthoms added this to the 2.1.2 milestone Jun 11, 2026
@kthoms
kthoms merged commit 60abcc1 into main Jun 11, 2026
21 checks passed
@kthoms
kthoms deleted the backport/cibseven-823-task-local-variable-doc-examples branch June 11, 2026 15:51
@kthoms

kthoms commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Cherry-picked for 2.1.2

kthoms pushed a commit that referenced this pull request Jun 11, 2026
Related to cibseven/cibseven@f6da48f

Backported commit f6da48f993de634eaf2ca9c06bd27b4977c7b2ea from the cibseven repository.

Original author: patrickCIB <[email protected]>

Backport change unit: 823

(cherry picked from commit 60abcc1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api:rest Changes affecting the REST API backport:cibseven Changes backported from cibseven backport:patch-release Should be ported back to the latest feature release branch.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants