Swagger中参数为map,如何在yaml文件中表示

一个接口的方法参数是map,如何用swagger中的yaml文件中表示
用schema的方式
例如:接口public void addOrder(Map products);
yaml文件中
/addOrder:
post:
operationId: addOrder
parameters:
- name: products
in: body
required: true
type: object
properties:
products:
type: map
key:
type: string
value:
type: object
responses:
200:
description: add order
schema:
type: string
请问哪里写错了!!大神

https://www.ibm.com/developerworks/cn/web/wa-use-swagger-to-document-and-define-restful-apis/index.html?lnk=hm