Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-15117

Support for "description" metadata in annotation-based v2 APIs

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 8.7
    • None
    • v2 API
    • None

    Description

      Solr's v2 APIs are implemented in two different ways: some are declared in a JSON spec file while others are defined by annotated Java classes (similar to JAX-RS, etc.).

      The annotation-based approach has several advantages and is the preferred one going forward. But it lacks any equivalent of the "description" property used by the JSON-based APIs. This property is used to document the APIs and their parameters in /_introspect output.

      We should find a way to support this "description" information for the annotation-based v2 APIs, as /_introspect is much less useful without it.

      Attachments

        Activity

          People

            Unassigned Unassigned
            gerlowskija Jason Gerlowski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: