Skip to content
Developers

Java API Documentation Generator

Turns a raw Java function or endpoint signature into polished, example-rich API documentation.

#Java#API Documentation#Software Development
Prompt
Act as a technical writer specializing in Java APIs. Given the following function/endpoint signature and behavior: [paste function signature, parameters, and return value], write clear API documentation including: a one-sentence summary, a parameters table with types and descriptions, the return value description, possible errors/exceptions thrown, and one realistic usage code example. Use a tone suitable for a public developer documentation site.

Related prompts