utils
set_additional_properties_false_json_schema(schema)
Set additionalProperties to False to all objects in the schema using jsonpath.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
schema
|
dict
|
The JSON schema to modify |
required |
Returns:
| Type | Description |
|---|---|
dict
|
The modified schema with additionalProperties set to False |