Skip to content

Conversation

@lcawl
Copy link
Contributor

@lcawl lcawl commented Nov 14, 2025

Summary

This PR addresses the following error that's returned by make api-docs-lint:

  2818:3     error    no-identical-paths              The path already exists which differs only by path parameter name(s): `/api/agent_builder/tools/{id}` and `/api/agent_builder/tools/{toolId}`.

Some of the APIs in tools.ts were using a parameter variable named tooldId (e.g. https://www.elastic.co/docs/api/doc/kibana/operation/operation-put-agent-builder-tools-toolid) while others were using id (e.g. https://www.elastic.co/docs/api/doc/kibana/operation/operation-delete-agent-builder-tools-id), so I updated them to all use toolId.

Checklist

Check the PR satisfies following conditions.

Reviewers should verify this PR satisfies this list as well.

- [ ] Any text added follows EUI's writing guidelines, uses sentence case text and includes i18n support
- [ ] Documentation was added for features that require explanation or tutorials
- [ ] Unit or functional tests were updated or added to match the most common scenarios
- [ ] If a plugin configuration key changed, check if it needs to be allowlisted in the cloud and added to the docker list
- [ ] This was checked for breaking HTTP API changes, and any breaking changes have been approved by the breaking-change committee. The release_note:breaking label should be applied in these situations.
- [ ] Flaky Test Runner was used on any tests changed
- [ ] The PR description includes the appropriate Release Notes section, and the correct release_note:* label is applied per the guidelines
- [ ] Review the backport guidelines and apply applicable backport:* labels.

Identify risks

N/A

@lcawl lcawl added docs Team:Docs release_note:skip Skip the PR/issue when compiling release notes v9.3.0 v9.2.2 backport:version Backport to applied version labels labels Nov 14, 2025
@lcawl lcawl marked this pull request as ready for review November 14, 2025 22:23
@lcawl lcawl requested review from a team as code owners November 14, 2025 22:23
@elasticmachine
Copy link
Contributor

Pinging @elastic/experience-docs (Team:Docs)

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

History

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

Labels

backport:version Backport to applied version labels docs release_note:skip Skip the PR/issue when compiling release notes Team:Docs v9.2.2 v9.3.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants