toni-moreno / snmpcollector

A full featured Generic SNMP data collector with Web Administration Interface for InfluxDB
MIT License
286 stars 53 forks source link

added swagger api doc #487

Closed toni-moreno closed 3 years ago

toni-moreno commented 3 years ago

To generate doc needed install goswagger. (https://goswagger.io/install.html) and execute the following command from the root of the snnmpcollector package

swagger generate spec -o src/assets/swagger.yaml  -w pkg/ --scan-models
toni-moreno commented 3 years ago

image

toni-moreno commented 3 years ago

@sbengo ready to review please!