BUG FOUND: swagger.json specification generator creates duplicate "description" attr

BUG FOUND: swagger.json specification generator creates duplicate "description" attr

  
Outsystems expose REST generates a swagger.json specification file that contains duplicate "description" attributes this causes with some 3rd party applications.

Example
   "paths":{
      "/Gateway_Capture":{
         "post":{
            "tags":[
               "Gateway"
            ],
            "description":"A capture will take the funds previously reserved via an authorization.",
            "operationId":"Gateway_Capture",
            "consumes":[
               "application/json"
            ],
            "produces":[
               "application/json"
            ],
            "parameters":[
               {
                  "name":"TransactionId",
                  "in":"query",
                  "description":"The unique identifier of the transaction to capture. ",
                  "required":true,
                  "type":"string",
                  "default":"",
                  "description":"The unique identifier of the transaction to capture. "
               },
               {
                  "name":"Gateway_CaptureRequest",
                  "in":"body",
                  "description":"",
                  "required":true,
                  "schema":{
                     "$ref":"#/definitions/Gateway_CaptureRequest"
                  }
               }
            ],
            "responses":{
               "200":{
                  "description":"",
                  "schema":{
                     "$ref":"#/definitions/Gateway_Response"
                  }
               }
            }
         }
      },

Solution: remove the duplicated "Description" attribute.
Hi Robert, 

Thanks for reporting this. I have forwarded it to the team for analysis. If this is affecting an enterprise infrastrucure operation, please contact support - https://success.outsystems.com/Support

Cheers!