Re:Ask HN: How do you write API documentation?
by krsyoung on Friday October 14, 2016 @12:36PM
(#12709222)
For Web APIs OpenAPI Specification has been a great resource for internal and external projects. With viewers like https://github.com/Rebilly/ReDoc/ it gets pretty easy to take the spec and generate something pleasing for a consuming developer.
Unless you are talking about native code APIs ...