I am documenting an API with Swagger. I am not using annotations and the documentation is written to a JSON file.
The problem is that API is constantly changing and every change you need to compare the file with the Java source code.
I would like to know if there is any way to automate this task or if you guys would have any tips.