未显示Swagger/OpenAPI 3.0 RequestBody说明

未显示Swagger/OpenAPI 3.0 RequestBody说明,api,swagger,documentation,openapi,Api,Swagger,Documentation,Openapi,今天我试着用Swagger创建一个API文档。我直接尝试了openapi 3.0。不知何故,我无法得到我的请求机构工作的描述 requestBody: content: application/x-www-form-urlencoded: schema: type: object properties: name: description: The username o

今天我试着用Swagger创建一个API文档。我直接尝试了openapi 3.0。不知何故,我无法得到我的请求机构工作的描述

requestBody:
    content:
      application/x-www-form-urlencoded:
        schema:
          type: object
          properties:
            name:
              description: The username of the user to be registered.
              type: string
            email:
              description: The E-Mail address of the user to be registered.
              type: string
            password:
              description: The password of the user to be registered.
              type: string
          required:
            - name
            - email
            - password
但这些描述不会出现:

我想得到像《大摇大摆2》那样的东西。下面是如何将相同的代码转换为Swagger 2

这已在Swigger UI 3.18.2中修复