Skip to content

docs(parser): remove phantom function from README Public API table#44739

Merged
pelikhan merged 2 commits into
mainfrom
copilot/spec-librarian-fix-phantom-function
Jul 10, 2026
Merged

docs(parser): remove phantom function from README Public API table#44739
pelikhan merged 2 commits into
mainfrom
copilot/spec-librarian-fix-phantom-function

Conversation

Copilot AI commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

pkg/parser/README.md documented LocateJSONPathInYAMLWithAdditionalProperties(yamlContent, jsonPath, errorMessage string) which does not exist in the source — its functionality was absorbed into LocateJSONPathForPathInfo during a past refactor.

Changes

  • pkg/parser/README.md: Remove the phantom LocateJSONPathInYAMLWithAdditionalProperties row from the Public API table. The table now accurately reflects the three exported functions: ExtractJSONPathFromValidationError, LocateJSONPathInYAML, and LocateJSONPathForPathInfo.

…from parser README

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix phantom function in parser specification docs(parser): remove phantom function from README Public API table Jul 10, 2026
Copilot AI requested a review from pelikhan July 10, 2026 14:02
@pelikhan pelikhan marked this pull request as ready for review July 10, 2026 14:26
Copilot AI review requested due to automatic review settings July 10, 2026 14:26
@pelikhan pelikhan merged commit 728066f into main Jul 10, 2026
@pelikhan pelikhan deleted the copilot/spec-librarian-fix-phantom-function branch July 10, 2026 14:26

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Removes a non-existent function (LocateJSONPathInYAMLWithAdditionalProperties) from the pkg/parser README’s Public API table so the documentation accurately reflects the actual exported JSON-path helpers in pkg/parser.

Changes:

  • Removed the phantom LocateJSONPathInYAMLWithAdditionalProperties row from the “JSON Path Location” Public API table.
  • Leaves the table listing only the three exported functions that exist in source: ExtractJSONPathFromValidationError, LocateJSONPathInYAML, and LocateJSONPathForPathInfo.
Show a summary per file
File Description
pkg/parser/README.md Removes a documented-but-nonexistent API entry so the Public API table matches the actual exported functions.

Review details

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Low

@github-actions

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v0.82.8

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[spec-librarian] Specification Audit — 2026-07-10 — 1 issue found

3 participants