We only have documentation for 200 status code in device-analytics code. Need to update docs for 400. 404 and 500 responses
To do:
- Add lines to the annotations in the handler that describe the error responses:
// @failure 400 {object} object{detail=string,method=string,status=int,title=string,uri=string} "Bad request" // @failure 404 {object} object{detail=string,method=string,status=int,title=string,uri=string} "Not found" // @failure 500 {object} object{detail=string,method=string,status=int,title=string,uri=string} "Internal server error"
- Run swag fmt to format the annotations
- Run make docs to update the spec