The bug was caused because of change in version of python package.
Used inbuilt json function of the requests package to rectify.
Change-Id: If71fe96dcffdd26179dd1d05b9536126a1ddaae5
# Merging two specs
api_response = requests.get(args.api_declaration_url)
- api_response = json.loads(api_response.content)
+ api_response = api_response.json()
resource_response = requests.get(args.resource_listing_url)
- resource_response = json.loads(resource_response.content)
+ resource_response = resource_response.json()
resource_response['models'] = api_response['models']
resource_response['apis'] = api_response['apis']