Uploaded image for project: 'Red Hat Internal Developer Platform'
  1. Red Hat Internal Developer Platform
  2. RHIDP-4416

[bulk-import] Generate client code off of the OpenAPI spec and use that in the frontend plugin

Prepare for Y ReleasePrepare for Z ReleaseRemove QuarterXMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • None
    • Bulk Import Plugin
    • None
    • False
    • Hide

      None

      Show
      None
    • False

      The bulk-import backend OpenAPI spec could evolve over time, and lead to breaking changes in the API.

      Currently, the types definitions are generated off of the OpenAPI spec and the backend plugin relies on that for the endpoints implementation.

      I think it would be great if the client code could be generated too off of this OpenAPI spec, similar to some parts in the backend code.

      This way, the API client code would be type-safe and would break at build time if there are breaking changes in the OpenAPI spec..

              Unassigned Unassigned
              rh-ee-asoro Armel Soro
              RHIDP - Frontend Plugins & UI
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: