ESI Best Practices: Generating Code With Underscore Routes
This blog post is part of a series of blogs examining best practices for ESI development. Each blog will be published on the 8th of each month during the journey towards XML API and CREST’s termination date. The legacy APIs will be terminated on May 8th, 2018, or earlier if metrics signal a trivial level of usage.
This blog explains best practices for autogenerating language specific clients from the ESI swagger spec. When generating code from one of the named routes (e.g. https://esi.evetech.net/latest/swagger.json), you may have noticed the resulting client library uses /latest as the version in all its URL calls.
You can see why if you look at this fragment of the swagger spec from the above URL:
{
"basePath": "/latest",
"host": "esi.evetech.net",
"info": {
"description": "An OpenAPI for ...
read more