LogoClawIndex
CasesSkillsAbout
LogoClawIndex

api-endpoint-implementation - Implement consistent FastAPI REST endpoints

Defines patterns for FastAPI REST routes, Pydantic request and response models, error handling, health checks, and integration tests.

Tags

Updated: 2026-10-02
FastAPIREST APIPydanticerror handlingintegration testinghealth checks

Capabilities

Define FastAPI routesCreate Pydantic modelsValidate request dataMap errors to statuses

Typical Inputs

Endpoint specificationsBusiness logicProject conventions

Typical Outputs

FastAPI endpoint codePydantic modelsStandard error responses

What this skill does

  • Define FastAPI routes
  • Create Pydantic models
  • Validate request data
  • Map errors to statuses
  • Implement health checks
  • Implement readiness checks
  • Write integration tests

Inputs

  • Endpoint specifications
  • Business logic
  • Project conventions
  • Service dependencies

Outputs

  • FastAPI endpoint code
  • Pydantic models
  • Standard error responses
  • Health and readiness endpoints
  • Integration tests

Requirements

  • FastAPI
  • Pydantic
  • Python environment
  • pytest
  • FastAPI TestClient

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.