DeepFrontend
Learning Paths
Practice
System Design & DS
Design Studio
Data Structures Curriculum
Real-World Case Studies
Careers
Job Board
Resume Builder
Blog
Sign in
Search
⌘K
Go Pro
Loading compiler resources...
API Development Quiz Practice
Active Recall Drill Session
← Exit Session
Question 1 of 1
medium
API Development
Why might a team choose OpenAPI over tRPC even for a project where both ends happen to currently be TypeScript?
A
There's never a reason to choose OpenAPI in that case
B
If public/third-party API documentation or future cross-language client generation matters, OpenAPI's structural advantages there outweigh tRPC's simpler same-stack developer experience
C
OpenAPI is always mandatory for TypeScript projects
D
tRPC cannot be used with any TypeScript backend framework
Check Answer