Home > Forum > Data sources > REST - API usage: Problems with automated class generation in order to read JSON data

REST - API usage: Problems with automated class generation in order to read JSON data
1

Hi all,

at the moment we are struggling to generate C## classes automatically based on the SWAGGER JSON Definition of WebCon. (server-adress/api)
It seems, that the inheritance could not be solved completely by the library.
Our aim is to be able to read data in JSON format from the WebCon REST-API by using standardized tools, means no manually work for getting the data in the right format.

Used REST instruction (v3.0)
GET: Gets default bps view content

Additional Information:
- WebCon Version 2021.1.4.154
- NSwagStudio 13.18.0.0
- Autorest 3.6..2

It would be great if someone could show me a possible approach or naming any JSON parsre for C## supporting JSON WebCon REST answers.
Thanks a lot in advance.

Best regards
Thomas

Privacy overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognizing you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.


To see a full list of the cookies we use and learn more about their purposes, visit our Privacy Policy.