1
I find Google’s Directory API very interesting for bringing together documentation and testing environment in an objective and well organized way.
I wonder if there is a similar plugin that can be added to a Java application to automatically generate that environment. To be clear I would quote Javadoc. Based on the annotations and comments he is able to generate the documentation. That would be a good deal of the content we can find in the Directory API. The testing environment could for the REST functions depend on the REST notation, identify the server URL, and mount the request URL. Javadoc doesn’t contemplate everything.
What I wanted exactly is to ride a Directory API private, where he had as content the documentation of my project.
Does anyone know if there is this ready somewhere or if it is really necessary to create it in hand? If there is, which program or plugin is used to do this?
Everything in a single solution I do not know, besides relying on tools you already use, such as Reports generated by default in build as Maven and Gradle. For the documentation/test/mock part of the REST API I recommend taking a look at Swagger
– Bruno César