I have a master xml with data in it and several API endpoints that show a subset of the xml data as JSON responses. Also in the response the tag names are slightly modified (for example the element "DriverInfo" in xml may be renamed to "DriverDetails" in the json. So now using Python: 1) how do i check if all the child elements under a given element in xml is available in the json response. 2) how do i check if all the collections in the json (as suggested in the swagger model for the endpoint) is picked up correctly from the given xml.
Aucun commentaire:
Enregistrer un commentaire