ausocean / openfish

OpenFish is an open-source system written in GoLang for classifying marine species. Tasks involve importing video or image data, classifying and annotating data (both manually and automatically), searching, and more. It is expected that OpenFish will use utilize computer vision and machine learning techniques.
https://ausocean.github.io/openfish/
Other
6 stars 0 forks source link

Draft: Add autogenerated API docs #163

Closed scott97 closed 1 week ago

scott97 commented 2 weeks ago

API documentation takes a bit of time to write and it sometimes gets out of sync with the code.

This PR generates our API docs automatically by adding additional comments to our code. Swaggo is used to create an openapi specification, and the docs are displayed using scalar

The advantages of this are:

Screenshots

image

image

image