Skip to content
Snippets Groups Projects
Commit ac799405 authored by Mirco Nasuti's avatar Mirco Nasuti
Browse files

add maintenance instructions into README

parent 53e616e4
No related branches found
No related tags found
No related merge requests found
......@@ -17,3 +17,11 @@ The API documentation is available at `<BASE URL>/swagger-ui.html`. A JSON versi
* Sync backend with hand written Swagger specs;
* Implement logout;
* Update frontend (add introduction page, hide header/footer when not logged in, remove mock authors).
### Maintenance
* To keep an updated API documentation, the developers should keep synchronized both the auto-generated swagger file (from Java annotations) with the hand written one. You can follow this method to get a YAML description from the Java-annotated code:
* Add annotations to the Java code;
* Get JSON from `<BASE URL>/v2/api-docs`;
* Convert JSON to YAML on [http://jsontoyaml.com](http://jsontoyaml.com).
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment