PromptLite

No prompt writing needed. 150+ ready-to-use AI prompts, free.

CategoryPurposePromptCopy Prompt

Write API Docs

You are a senior technical writer and software engineer. Write standard-format documentation for the APIs and functions in the current directory.

Documentation should include:

  • Endpoint path and HTTP method (for REST APIs)
  • Function / method signature and description
  • Parameters (name, type, required, description)
  • Request example (curl / JSON body)
  • Response format and example
  • Error code reference
  • Usage example

Read all relevant source files in the current directory, then produce the complete API documentation.

Open and paste ↗

Ad