These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

EVE Technology Lab

 
  • Topic is locked indefinitely.
 

Swagger.json underscores problem

Author
MrXLR8
Nezlamni
UA Fleets
#1 - 2017-02-28 00:28:55 UTC
I were looking to add swagger.json
https://esi.tech.ccp.is/latest/swagger.json?datasource=tranquility
and i met some kind of problem in visual studio.
Quote:

...
[Fatal]Error generating client model: Found operation objects with duplicate operationId 'get_alliances'. OperationId must be unique among all operations described in the API.
...


I have google this issue, and noticed that not only i have this problem. Problem is caused when you use underscore in operationID twice. Here`s related discussion:
https://github.com/Azure/autorest/issues/964

Offcourse, this is my Microsoft problem, but probably change OperatorID will be better solution?

http://gc.insp.su?a=sig&i=636&s=jaguar

Это должно было быть Userbar`om, но осталось ссылкой :С

Knuckles Tails
Pura Olive Oil Company
#2 - 2017-05-10 10:47:41 UTC
Having same issue.

Would be nice if Microsoft fixed his stuff, but in this case I guess asking ccp to change the operationid's to something with max one underscore is faster..

#HopeItGetsFixed
Althalus Stenory
Flying Blacksmiths
#3 - 2017-05-10 12:29:53 UTC
Not to be a troll, but you'd rather use a lib from someone that respect standards than a microsoft one... because i don't think it will ever be fixed.

EsiPy - Python 2.7 / 3.3+ Swagger Client based on pyswagger for ESI