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

Swagger is generated with example: null on 1.32

XMLWordPrintable

    • False
    • None
    • False
    • ---
    • ---
    • 2023 Week 03-05 (from Jan 16), 2023 Week 06-08 (from Feb 6)

      I had an issue updating kogito from 1.31 to 1.32. The automatically generated Swagger had "example": null for every field in the json, leading to the ui showing just "null" in the example box, instead of inferring the example based on type (which I guess it used to do before).

      Here you can see a portion of the diff between the swagger generated by cogito 1.31 and 1.32:

      I'm about to create a repo to reproduce the error

        1. image.png
          image.png
          382 kB
        2. 1.31.png
          1.31.png
          181 kB
        3. 1.32.png
          1.32.png
          165 kB

              vmudadla@redhat.com Vani Haripriya Mudadla
              federico-ntr Federico Turbino (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: