Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-11801

OpenAPI: Properties with `null` values are missing in the examples

XMLWordPrintable

    • Icon: Bug Report Bug Report
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 7.13.0, 7.13.0-alpha4
    • None
    • None

      Example:

      • the property "tenantId": null occurs multriple times in the examples of fetch and lock
      • however the alpha artifact does not contain that property:
                        "example-1": {
                          "summary": "POST /external-task/fetchAndLock (1)",
                          "description": "Request with variable filtering",
                          "value": [
                            {
                              "activityId": "anActivityId",
                              "activityInstanceId": "anActivityInstanceId",
                              "errorMessage": "anErrorMessage",
                              "errorDetails": "anErrorDetails",
                              "executionId": "anExecutionId",
                              "id": "anExternalTaskId",
                              "lockExpirationTime": "2015-10-06T16:34:42.000+0200",
                              "processDefinitionId": "aProcessDefinitionId",
                              "processDefinitionKey": "aProcessDefinitionKey",
                              "processInstanceId": "aProcessInstanceId",
                              "retries": 3,
                              "workerId": "aWorkerId",
                              "priority": 4,
                              "topicName": "createOrder",
                              "variables": {
                                "orderId": {
                                  "type": "String",
                                  "value": "1234",
                                  "valueInfo": {}
                                }
                              }
                            }
      

      Hint: we use GSON to format the end openapi.json.

        This is the controller panel for Smart Panels app

              nikola.koevski Nikola Koevski
              yana.vasileva Yana Vasileva
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: