1. A computer-implemented method comprising: obtaining bytecode generated from source code for a web service that includes an application programming interface (API), wherein the source code included one or more annotations to a compiler to apply behavior of a request-based application framework to portions of the source code, and wherein the one or more annotations were retained within the bytecode after compilation; obtaining annotation information from the one or more annotations retained within the bytecode; generating a skeleton document from the annotation information; obtaining a plurality of code notes, wherein the plurality of code notes comprises respective descriptions of resources made available by the web service, and wherein the plurality of code notes are separate from the source code; and merging the skeleton document and the plurality of code notes to generate documentation for the API of the web service.