In DevTest v10.0.0, the JSON responses displayed after creating a virtual service do not match my expected responses.
I have created a sample Swagger specification that contains the following object definitions:
The URI for this specification is as follows:
As you can see, the API has a /contacts/ URI that allows a GET. The response of this GET method should be the ContactList definition from the first image. This is where my issue is. Below is an example of the JSON (this example is generated by the Swagger Editor) I expect from a response:
Now here is the response to my virtual service in DevTest:
Would anyone be able to point me in the direction of what my issue is? Is my Swagger spec incorrect?