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
What's the recommended way to prevent OpenAPI spec drift, per this topic?
A
Manually re-read the spec every week to check for accuracy
B
Generate the spec FROM the actual code (framework annotations, or a schema library like zod also used for runtime validation) rather than hand-authoring it separately
C
Drift is unavoidable and not worth addressing
D
Only use OpenAPI for APIs that never change
Check Answer