Solved
Forum Discussion
RonRatovsky
Staff
7 years agoYou should add 'type: object' to the internal items array:
items: type: object additionalProperties: type: object properties: ModuleName: type: string example: latency ModuleSettings: type: string example: Min 0, Max 10
While the definition is valid, itt doesn't actually produce the result you'd expect. When you don't specify a type, it means that any type can be used (string, array, object, number...). The 'additionalProperties' will only take effect if the actual used value is an object, but in other cases it will be ignored. Having that definition does not implicitly set the type to be object.