Skip to content
CodeWiki
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
Search
⌘K
English
English
Chinese
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
English
English
Chinese
Practice
/
Quiz
/
Backend
/
API-first design
A provider adds an optional field to a response. When is that change compatible with an e…
from API-first design
OpenAPI 3.2.0 / Node 24
intermediate
1 min
A provider adds an optional field to a response. When is that change compatible with an existing client?
Always; optional response fields cannot break clients.
When the client tolerates unknown response fields and no existing semantics change.
Only when the API URL gains a new major version.
Check
Ask AI about this kata
Report an error
previous kata
What does this contract check print?
Predict the output
next kata
Review a generated create-order endpoint
Review AI code
A new version is available
Reload