Lurker News
I tend to always look to api.github.com when I need a little inspiration.

Anyone have some good examples of a particularly well laid out API?

Comments (182) 67 threads

Show all comments

Showing thread 29 of 67

foolinaround2 replies#
Follow up question:

is there a good example of an OPEN SOURCE REST API?
I would like to see how the versioning is achieved, how the versions are incremented, etc?
Bonus points if it is in the Java ecosystem.

joshmn#
GitLab's done some stuff.
buremba1 reply#
Nice! Instead of generating Markdown files, you could also generate full HTML documentation similar to Slate. The generated Markdown files can be used in Slate since the format seems to be similar. Actually I opened an issue in swagger-codegen repo (https://github.com/swagger-api/swagger-codegen/issues/1387) and we talked about it. The reason that I created a separate project is that the the example usage section and the format didn't seem to be implemented as language in swagger-codegen.
wing328hk#
I notice that you put all the clients (C#, Java, Ruby, PHP, etc) under the same Github project.

I would suggest you to create separate Github repo for API clients in different languages so that developers can install the PHP, Python, Ruby, etc API clients directly from the Github repo.
You can leverage "git_push.sh" to push the auto-generated SDKs (with doc, sample code) to Github.