Reputation: 550
I have written web services of my Java project using resteasy. For the documentation process i want these web services to be captured using RAML.
For this I am able to find an eclipse plugin of RAML that will generate a .raml file. But we have to do this manually, i.e. click on class file or package to generate raml files.
So my question is - isn't there a way by which all the classes that are for web services or under a package, a raml file be generated during packaging of the project.
Say using maven during the build process.
Please suggest
Upvotes: 0
Views: 1331
Reputation: 33413
Yes there is: https://github.com/mulesoft/raml-for-jax-rs
RAML for JAX-RS
has both RAML → JAX-RS
and JAX-RS → RAML
Maven plug-ins, the latter being what you're looking for.
Upvotes: 2