# Tool: Create Prompt for API Endpoint Documentation

> Generate comprehensive API documentation with the BOPINK OpenAPI Prompt Generator. Designed for Technical Writers, API Engineers, and Backend Developers, this tool generates prompt instructions that parse backend route handlers and produce standardized OpenAPI 3.1 YAML/JSON specifications, Postman Collections, and Markdown developer guides.

**Category**: prompts-code-design | **Target AI Models**: Gemini 3.6 Flash, GPT-4o

## Domain Parameters:
- `docFormat` (select): Output Specification Format (Default: "OpenAPI YAML")
- `authScheme` (select): Authentication Scheme (Default: "JWT Bearer")
- `includeErrorSchemas` (toggle): HTTP Error Response Schemas (Default: "true")
- `environment` (input): API Base Server URL (Default: "https://api.example.com/v1")

## Master Prompt Engineering Architecture (5 Pillars):
1. **Role & Persona**: Domain expert framing
2. **Task & Deliverable**: Primary objective & constraints
3. **Context & Parameters**: Technical specs & camera/stack parameters
4. **Negative Constraints**: Forbidden artifacts & bad practices
5. **Output Spec**: Section formatting & XML/Markdown structure

## Programmatic API Execution:
```http
POST /api/generate-prompt
Content-Type: application/json

{
  "toolSlug": "create-prompt-for-api-endpoint-documentation",
  "rawPrompt": "Your raw concept here",
  "thinkingLevel": "HIGH"
}
```
