Discussion:
[arangodb-google] Swagger API Operation ID not being generated
t***@gmail.com
2018-08-08 07:58:17 UTC
Permalink
The Swagger API being generated doesn't appear to contain an operationId for any of the routes. I was planning to this Python library to interact with the API, which utilizes this operationId for it's method calls: https://github.com/Yelp/bravado

The code for generating the operationId is in the Arango source code, but it's not entirely clear what it's being created from:
https://github.com/arangodb/arangodb/blob/devel/js/server/modules/%40arangodb/foxx/router/tree.js#L177

Has anyone else had trouble with this?
--
You received this message because you are subscribed to the Google Groups "ArangoDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to arangodb+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Wilfried Gösgens
2018-08-23 10:58:56 UTC
Permalink
Hi,
are you talking about the swagger API for foxx services, or the arangodb
API itself?

We did quiet a bit of work on the arangodb api descriptions, maybe the
devel version of the api contains it already?
You can find it i.e. here:
https://github.com/arangodb/arangodb/blob/devel/js/apps/system/_admin/aardvark/APP/api-docs.json


Cheers,
Willi
Post by t***@gmail.com
The Swagger API being generated doesn't appear to contain an operationId
for any of the routes. I was planning to this Python library to interact
https://github.com/Yelp/bravado
The code for generating the operationId is in the Arango source code, but
https://github.com/arangodb/arangodb/blob/devel/js/server/modules/%40arangodb/foxx/router/tree.js#L177
Has anyone else had trouble with this?
--
You received this message because you are subscribed to the Google Groups "ArangoDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to arangodb+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...