I tried to follow the instructions here - https://developers.eveonline.com/blog/article/swagger-codegen - to automagically produce an API, but editor.swagger.io fails silently. I went with the curl option instead, and got an error back about being unable to generate an API for “characters”. I don’t know where to start diagnosing the error, though. Is it in the swagger.json from CCP, is it in the editor, or is my computer resposible for generating the code and I’m missing a dependency?
For the start you can try to find out what exactly is wrong. Take this route https://swagger.io/docs/swagger-tools/#installation-11 to run the codegen locally on your computer. Youi’ll get way more verbose error message if code generation will fail.
I found that version 2.2.2 of the codegen works without any problems, you can download it here:
Version 2.2.2 and even the 3.0 version available from the GitHub does compile. However, I’m getting a missing file for my chosen output mode (qt5cpp). SWGNumber.h does not exist. I am having a hard time figuring out if it’s an issue with the generator or ESI’s specifications. Googled the situation for several hours, came up with nothing. Am currently trying to modify the generated files to exclude the API grouping (which I don’t need) that’s causing the issue: the LoyaltyAPI, apparently.