I’m trying to create an API Client for use in our back end and I can’t find an easy way to autogenerate the classes described in the API documentation. Is there a descriptor file somewhere with class information i could read out?
Coming to your question, Nick - I am not sure which product you needing an API Client for? Is it Freshdesk?
Yes, Freshdesk. The API documentation is fine if I manually need to run some queries but if I want to generate some classes from the documentation that’s not possible. Usually API’s can be self documented with for example Swagger. That way you have a single file that completely describes every API endpoint.
Let me get in touch with the Freshdesk team if they have something that can help you out.
So I take it that’s a NO?
I was able to connect with the Freshdesk team, at the current moment, there is no official swagger spec available for public consumption. It appears like some work over this for Freshdesk is in progress and might not be available anytime soon.