OpenAPI Generatorで、何でも入れてOKのプロパティの値に型付け(Map<String, String>とかに)する方法

以下のように、additionalPropertiestypeを指定すると、値の型を変えられます。
例ではstringを指定しているので、Kotlinで生成した場合Map<String, String>になります。

type: object
additionalProperties: 
  type: string

type: integerにすればMap<String, Int>になりますし、type: stringのままformat: uuidにすればMap<String, UUID>になります。