cpa03

api-endpoint-create

Standard procedure for creating robust API endpoints

cpa03 0 Actualitzat fa 8 mesos
GitHub

Instal·la

npx skillscat add cpa03/blueprintify/opencode-skill-api-endpoint-create

Instal·la des del registre de SkillsCat.

SKILL.md

Procedure

  1. Define the Request/Response schema (Zod/OpenAPI).
  2. Create the route handler/controller.
  3. Implement business logic in a service layer.
  4. Add authentication/authorization middleware.
  5. Write an integration test for the endpoint.