对于整数,我使用
userId: type: integer format: int32
但是如果我想分配双精度类型怎么办?
我尝试查阅Swagger文档,但找不到答案。
我们可以写成
userId: type: number format: double