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

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

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: