如何更改JSONObject类

时间:2018-09-25 02:23:55

标签: swagger

ResponseEntity<JSONObject> getJsonObject(@ApiParam(value = "class path",required=true) @PathVariable("hdfsPath") String hdfsPath)

我手动编辑响应类“ JSONObject”,但是我不知道如何更改类JSONObject的摇摇欲坠的响应,请帮帮我!

  /hdfs/getJsonObject:
  get:
    summary: 
    description: 
    operationId: getJsonObject
    tags:
    - "Hdfs"
    parameters:
    - in: "path"
      name: "hdfsPath"
      description: 
      required: true
      type: "string"
    responses:
      200:
        description: ok
        schema:

0 个答案:

没有答案