Open
Description
Description of the bug:
additionalProperties
is not an allowed field to include for a parameter, nor is oneOf
(or an array) of Types. It is also not possible to omit the type
. All of these variations are valid JSONSchema property definitions.
This limits the values to being known and makes it difficult to utilize function calling for something like an object of React Props or something that is quite dynamic.
Actual vs expected behavior:
Add additionalProperties: true
as a valid field for function params.
This should be treated equivalent to { [key:string]: any; }
Any other information you'd like to share?
No response