SV-Virtual Service created from a Swagger (OpenAPI) 3.0 document generating incorrect Responses with extra tags

book

Article ID: 197723

calendar_today

Updated On:

Products

CLOUDTEST CA Application Test CA Cloud Test Mobile MOBILECLOUD Service Virtualization

Issue/Introduction



While creating VSI's from Swagger (OpenAPI) 3.0 document, we found that Devtest is not able to generate proper responses as per the specification. 

Recorded response:

 

{"_children":[{"_children":{"self":{"_value":"/product-offerings/12345"},"productOfferingId":{"_value":"12345"},"lastUpdated":{"_value":"{{=doDateDeltaFromCurrent("yyyy-MM-dd","142D");/*2020-12-30*/}}"},"ProductOfferingPolicyNumber":{"_value":"177914"},"productOfferingName":{"_value":"portable benefits"},"agreement":{"_children":{"expand":{"_children":{},"_nodeFactory":{"_cfgBigDecimalExact":false}},"link":{"_children":{"id":{"_value":"123"},"self":{"_value":"/agreements/12345"}},"_nodeFactory":{"_cfgBigDecimalExact":false}}},"_nodeFactory":{"_cfgBigDecimalExact":false}},"customer":{"_children":{"expand":{"_children":{},"_nodeFactory":

Environment

Release : 10.5

Component : CA Service Virtualization

Resolution

 

We have a patch for this issue in 10.5. Please refer to DE473568 when opening a ticket.