Skip to content

Property search rows should show supplemental description overrides #4662

Open

Description

@reakaleek

An indexed API property row should carry the description the operation page shows, including overrides from the operation's supplemental documentation file.

What is getting in your way

OpenApiDocumentExporter indexes the property rows of every operation (src/Elastic.ApiExplorer/Export/OpenApiDocumentExporter.cs) and passes null where the page passes the operation's supplemental documentation. The page applies that file's parameter and request-body description overrides. The indexed rows keep the spec description, or stay blank when only the supplemental file documents the field. Editing an override also leaves the indexed text unchanged, because the document hash never sees it.

What would you like instead

Resolve the same supplemental documentation the page resolves and pass it into IndexEntries, so the indexed description and the row the search link lands on read the same. Include the override text in the document hash so an edit re-indexes the operation.

Anything else

Raised by Libra in the review of #4574, in this comment. The exporter only sees the OpenAPI document today, and resolving the supplemental file per operation is a separate wiring change, so this is tracked apart from that PR.

Activity

  1. rahulsjha commented on Nov 21, 2026

    @rahulsjha

    Hi @reakaleek, I'd like to take this. I'd have OpenApiDocumentExporter index property rows with the description the operation page shows, including supplemental overrides, with tests. Okay to pick it up?

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions