Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Generating API documentation from Java Cloud Endpoint

I'm looking for an efficient way to generate API documentation in a readable format, from the generated files from Cloud Endpoint (Java). The generated files are either: - my_api.api - my_api*.discovery

Something that looks like this: - https://github.com/kevinrenskers/raml2html#example-output

Swagger, API blueprint and RAML are all nice options, but don't seem adapt well to endpoint generated API descriptor files.

What methods are you using?

like image 378
mabruneau Avatar asked Jun 08 '26 00:06

mabruneau


1 Answers

Unfortunately we (Apiary) do not actually offer any code generation tool at the moment for API Blueprint.

If you are looking for a way how to generate a description of your API from the code then API Blueprint isn't probably the best choice as we believe it should represent the contract between everybody involved in the API design lifecycle. This is also the reason why we have built the testing tool – Dredd – https://github.com/apiaryio/dredd

With Dredd you can test your API implementation is matching to your blueprint. It wouldn't make much sense if the blueprint would be generated from the implementation.

Hope it clarifies.

like image 51
Vincenzo Avatar answered Jun 10 '26 05:06

Vincenzo



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!