Generates REST API endpoint code with proper structure and validation
Output: Complete REST API endpoint with documentation. Context: {{FRAMEWORK}} in {{LANGUAGE}}, database: {{DATABASE}}. Task: Create this endpoint: {{ENDPOINT_SPEC}}. Constraints: Do NOT skip validation. Do NOT ignore error handling. Do NOT use improper HTTP status codes. Do NOT miss security considerations. Include examples and OpenAPI documentation.
0 copies
Variables
Replace these variables with your own values before using:
{ENDPOINT_SPEC}{FRAMEWORK}{LANGUAGE}{DATABASE}
Example output
Complete endpoint implementation with input validation, error handling, request/response examples, and documentation in OpenAPI/Swagger format.