API Testing · Senior · Question 4 of 75

Why review an API design before code is written?

Show the answer

Correct answer: Changing a published contract later is expensive for all clients

Explanation

Spec-first reviews catch unclear errors, missing pagination or inconsistent naming when fixing them costs one edit, not a versioned migration.

Further reading

Problem with a question

API Testing · Senior · question 4

Test yourself

Take the API Testing · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz