Repository navigation
fix(engine-rest): replace broken docs links in OpenAPI descriptions - #4100
Merged
Merged
Conversation
Most links in the OpenAPI descriptions pointed to the per-endpoint REST
pages of the Camunda docs (`${docsUrl}/reference/rest/<resource>/...`),
which do not exist in the Operaton docs. The endpoint documentation is
the REST API reference itself.
- Link to the referenced operation within the REST API reference
(`#tag/<Tag>/operation/<operationId>`) instead
- Fix the swapped GET/POST links in POST /history/process-instance/count
- Remove the tag `externalDocs` links to the non-existent per-tag pages
- Fix the incident types links using the old `/manual/develop` path
- Fix links to the authorization, message events, multi-tenancy and
generated task forms pages
Related to operaton/documentation#220
Co-Authored-By: Claude Opus 5.5 <[email protected]>
kthoms
force-pushed
the
fix/openapi-legacy-rest-doc-links
branch
from
November 16, 2026 18:12
498d1af to
a3cb599
Compare
kthoms
added a commit
that referenced
this pull request
Nov 16, 2026
…4100) Most links in the OpenAPI descriptions pointed to the per-endpoint REST pages of the Camunda docs (`${docsUrl}/reference/rest/<resource>/...`), which do not exist in the Operaton docs. The endpoint documentation is the REST API reference itself. - Link to the referenced operation within the REST API reference (`#tag/<Tag>/operation/<operationId>`) instead - Fix the swapped GET/POST links in POST /history/process-instance/count - Remove the tag `externalDocs` links to the non-existent per-tag pages - Fix the incident types links using the old `/manual/develop` path - Fix links to the authorization, message events, multi-tenancy and generated task forms pages Related to operaton/documentation#220 Co-authored-by: Claude Opus 5.5 <[email protected]> (cherry picked from commit 26f03b8)
Contributor
Author
|
Cherry-picked to |
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



The documentation link check (operaton/documentation#220) reports 180 broken links from the REST API reference into the docs site. Nearly all of them point to the per-endpoint REST pages of the Camunda docs (
${docsUrl}/reference/rest/<resource>/get-query/etc.), which do not exist in the Operaton docs: the endpoint documentation is the REST API reference itself.Changes
#tag/<Tag>/operation/<operationId>. They stay within the same version of the reference. Each Camunda page was mapped explicitly to its endpoint (method + path) and resolved to the operationId from the generated spec; the link text was checked against the target's summary.POST /history/process-instance/countlinked "Get Process Instances (POST)" to the GET query and "Get Process Instance Count" to itself. Now they point toqueryHistoricProcessInstancesandgetHistoricProcessInstancesCount.externalDocs(51): removed. They pointed to per-tag pages (${docsUrl}/reference/rest/batch/...) that do not exist, and the tag descriptions are self-contained. The top-levelexternalDocsto the REST API overview stays./manual/develop/user-guide/process-engine/incidents/#incident-typesnow uses${docsUrl}. A link split across two lines inHistoricIncidentDto.ftlis joined, so the URL doesn't break.overview/authorization/→user-guide/process-engine/authorization-service/,bpmn20/events/message-events/→reference/bpmn20/...,multi-tenancy.md→multi-tenancy/,task-forms/_index/#generated-task-forms→task-forms/#generated-task-forms.Links inside FreeMarker comments (
<#-- Generated From File: ... -->) are left untouched.Verification
./mvnw -pl engine-rest/engine-rest-openapi verifypasses.openapi.jsonresolve to a tag/operation anchor in the spec..devenv/scripts/check-links.py check --scope internal --rest-api-spec target/classes/openapi.json): 0 REST API "not found" links remain. The one remaining missing anchor (history/#parallel-execution) is fixed in fix(engine-rest): correct parallel history cleanup docs link #4099.🤖 Generated with Claude Code