Hi ,
I am working on a restapi project where the schema is being built on SWAGGER.
Is there a way we can validate the schema using LISA 8.0.1?
Also the JSON response coming as response , i can view it as XML , in SOAPUI there is an option for JSON in Rest Projects.
Is there a fucntion to see the JSON message as is? I am using REST step.
Thanks
Rajeev
you don't validate the schema, you validate the message with the schema.
there is a json schema assertion .. note that you cannot use a property as the schema path (part of the schema that applies to this message).. I submitted an enhancement request (idea) for this.
I ended up writing my own groovy code to do the schema checking..
note that the swagger yaml needs to be converted to json before the schema check request.. I added a step to my VSM to do this conversion for the user of my service file.
(see my python pgm in a later message for the conversion)