Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-3691

Provide example payloads for all swagger endpoints

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Obsolete
    • Icon: Minor Minor
    • None
    • 7.10.1.GA
    • Kie-Server
    • None
    • False
    • False
    • Undefined

      There are some endpoints which includes example payloads, such as:

       

      https://github.com/kiegroup/droolsjbpm-integration/blob/master/kie-server-parent/kie-server-remote/kie-server-rest/kie-server-rest-case-mgmt/src/main/java/org/kie/server/remote/rest/casemgmt/CaseResource.java#L168

       

      There are some where such example does not exist:

       

       https://github.com/kiegroup/droolsjbpm-integration/blob/master/kie-server-parent/kie-server-remote/kie-server-rest/kie-server-rest-dmn/src/main/java/org/kie/server/remote/rest/dmn/ModelEvaluatorResource.java#L104

       Let's add example payloads to all endpoints where it make sense. These example doesn't need to be container specific (this is not related to BAPL-1787 in any way)- just a generic json/xml which would make it slightly easier for developers consume those endpoints would be enough.

              mfusco@redhat.com Mario Fusco
              rhn-support-agiertli Anton Giertli
              Karel Suta Karel Suta
              Karel Suta Karel Suta
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: