Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-9437

Improve dataInputSchema on openapi to be associated with the create endpoint body

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • 1.39.0.Final
    • Core Engine
    • None
    • False
    • None
    • False
    • ---
    • ---
    • 2023 Week 24-26 (from Jun 12)

      Currently, the input schema is not returned in the openapi for the create endpoint just a generic 

       

      requestBody:
      content:
      application/json:
      schema:
      $ref: "#/components/schemas/JsonNodeModelInput"

      So you need to find in the openapi for `workflowId + "_input" `to manually find the proper schema of a given workflow. The idea is to generate the proper annotations in the endpoint to include the schema reference in the requestBody.

              tdolphin-1 Tiago Dolphine (Inactive)
              tdolphin-1 Tiago Dolphine (Inactive)
              Marian Macik Marian Macik
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: