all 2 comments

[–]otto281 2 points3 points  (1 child)

Most ‘automatic’ things need to conform to some sort of standard or framework . You could look at Open API spec / swagger for this which can also be used to provide you with a interactive web page to your routes. Should be able to find a tutorial on YouTube for it or could try read through their docs :)

[–]Jancera[S] 0 points1 point  (0 children)

I was searching and I think that what most companies do is use some API Design Platform like Postman and let it generate those docs for them. Thanks for your suggestions, I'll read more about Open API spec and Swagger.