Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The reason for the 'additionalProperties = false' being displayed on your custom schema filter in the Swagger docs is that it is telling Swagger that no additional properties are allowed on this object. This means that any properties that are not explicitly defined in the schema will be rejected and not included in the object. This is a way to ensure that the object conforms to a specific structure and does not include any unexpected properties.