DEV Community

# apidesign

Best practices for designing, versioning, and managing robust REST and gRPC APIs.

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
Pydantic V2 Discriminated Unions in FastAPI: Modeling Polymorphic AI Feature Configs Without Schema Sprawl

Pydantic V2 Discriminated Unions in FastAPI: Modeling Polymorphic AI Feature Configs Without Schema Sprawl

2
Comments
5 min read
The Platform Economics Trap: Why Every "Non-Profit" Delivery System Eventually Charges Somebody

The Platform Economics Trap: Why Every "Non-Profit" Delivery System Eventually Charges Somebody

Comments
4 min read
Claude Code Model Switching: The Verification Notes That Could Save You $200/Month

Claude Code Model Switching: The Verification Notes That Could Save You $200/Month

1
Comments
4 min read
I Built a Paywall That AI Agents Pay Automatically — Then Realized I Made a Critical Mistake

I Built a Paywall That AI Agents Pay Automatically — Then Realized I Made a Critical Mistake

Comments
4 min read
The AI Robot You Bought Your Kid Might Be the Wrong Kind of Practice

The AI Robot You Bought Your Kid Might Be the Wrong Kind of Practice

Comments
5 min read
The Ghost of Japan's Fifth Generation Computer Project Is Running Your AI Agents

The Ghost of Japan's Fifth Generation Computer Project Is Running Your AI Agents

Comments
5 min read
The MCP Standardization Trap: Why Your AI Tool Integration Strategy Is Already Obsolete

The MCP Standardization Trap: Why Your AI Tool Integration Strategy Is Already Obsolete

Comments
5 min read
Cursor-Driven Development in FastAPI: Using AI to Generate Type-Safe API Schemas and Catch Contract Breaks Before Deployment

Cursor-Driven Development in FastAPI: Using AI to Generate Type-Safe API Schemas and Catch Contract Breaks Before Deployment

Comments 1
5 min read
A pause with two sides: the hook contract and the worker protocol

A pause with two sides: the hook contract and the worker protocol

Comments
9 min read
"Disclosure Debt": Why Your AI Financial Analyst May Be Lying About Japanese Stocks

"Disclosure Debt": Why Your AI Financial Analyst May Be Lying About Japanese Stocks

Comments
5 min read
Reachable Is Not the Same as Correct

Reachable Is Not the Same as Correct

Comments
3 min read
Is Your SPA Invisible to Social Media Crawlers? The CloudFront Functions Fix

Is Your SPA Invisible to Social Media Crawlers? The CloudFront Functions Fix

Comments
4 min read
Why API keys break for autonomous AI agents

Why API keys break for autonomous AI agents

Comments
2 min read
When pagination becomes infrastructure, the simple defaults stop working

When pagination becomes infrastructure, the simple defaults stop working

Comments
9 min read
6 of 6 official MCP servers cluster at 56–60/100 on schema-description density

6 of 6 official MCP servers cluster at 56–60/100 on schema-description density

Comments 1
3 min read
đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.