Visual Studio has the option to add Rest APIs based on Swagger. I tried to add Concur (using https://www.concursolutions.com/api/docs/index.html + my key) and I keep getting the error:
Generating client code and adding to project started
Generate client code for REST API with following parameters:
REST API Name: REST testing_APIAppClient, Base namespace: REST testing, Metadata file path: C:\Users[Username]\Documents\Visual Studio 2015\Projects\REST testing\REST testing\test2.json
Exception: Could not load file or assembly ‘Newtonsoft.Json, Version=184.108.40.206, Culture=neutral, PublicKeyToken=[token was here]’ or one of its dependencies. The system cannot find the file specified.
Generating client code and adding to project failed
Adding REST API client for failed
I tried many different versions of Newtonsoft.Json including 220.127.116.11. but I get the same error. I saw somewhere else in 2016 that Concur has invalid Swagger formatting.
Is this true? Has anyone gotten this problem? Solution? Any info on this subject would be greatly appreciated