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

DEV UI cannot render this json schema

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • None
    • None
    • False
    • None
    • False
    • ---
    • ---

      From  https://github.com/kiegroup/kogito-examples/tree/main/serverless-workflow-examples/serverless-workflow-expression-quarkus 

      {
          "$schema": "http://json-schema.org/draft-04/schema#",
          "title": "Expression",
          "description": "Schema for expression test",
          "type": "object",
          "properties": {
              "numbers": {
                  "description": "The array of numbers to be operated with",
                  "type": "array",
                  "items" : {
                      "type" : "object",
                      "properties" :

      {                    "x" :

      {"type":"number"}

      ,
                         "y" : {"type":"number"}
                      }
                   }
              }
          },
          "required": ["numbers"]
      }

      This is valid, but for some reason is not rendering on dev ui

              paulovmr Paulo Rego
              vmudadla@redhat.com Vani Haripriya Mudadla
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: