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

Generate OpenAPI spec for v2 APIs

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • main (10.0)
    • main (10.0), 9.2
    • v2 API
    • None

    Description

      An integration with OpenAPI and its tooling has a lot to offer Solr. Once generated, an OpenAPI specification can be used to:

      Of course, these benefits are only useful if we take pains to document our API inputs and outputs (probably with annotations that live directly in our Java code). But I think there's enough upside to be worth that trouble.

      This ticket aims to cover integrating OpenAPI into our gradle build, so that a single task can be used to generate an OpenAPI spec. - (It might also make sense to use this ticket to cover generating client bindings for one or more languages.)-

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h 50m
                  2h 50m