TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

UK Government Guidelines on Documenting APIs

55 pointsby pcr910303about 3 years ago

2 comments

kh1about 3 years ago
This looks great, but many orgs use auto-generated documentations for client libraries (e.g. OpenAPI), which IMO doesn&#x27;t give you easy-to-understand introduction&#x2F;overview. And I&#x27;ve seen many documentation I have to decipher.<p>Although tools like OpenAPI has its own place when it comes to documentation, should we maintain &quot;intuitive&quot; end-user documentation separately? I don&#x27;t think this can be automated based on the code.
评论 #31467719 未加载
评论 #31467560 未加载
spansoaabout 3 years ago
&gt; what your API does and does not do<p>This could mean specifying a LOT of things that an API cannot do, but it&#x27;s easier to state what an API can&#x27;t do rather than list all its capabilities, similar to how people can list 100s of negative emotions and fail bad at specifying lots of positive emotions.
评论 #31468729 未加载