API Testing · Middle · Question 5 of 75

What does additionalProperties: false in a response schema catch?

Show the answer

Correct answer: Unexpected fields, such as leaked internal data

Explanation

Strict schemas detect new or leaked fields like passwordHash. Teams decide per API whether strictness helps or causes noise.

Further reading

Problem with a question

API Testing · Middle · question 5

Test yourself

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

Take this quiz