Поле примечаний в @ApiOperation не отображается - PullRequest
0 голосов
/ 27 апреля 2020

Я использую springfox-swagger2 и springfox-swagger-ui версии 2.9.2 вместе с Spring Boot. Я пытаюсь отобразить поле заметок в @ApiOperation:

@PostMapping(value="/getExpandedTree",produces = "application/json")
    @ApiOperation(
            value="Get expanded tree",
            notes="Pass in the root node ID",
            responseContainer = "list",
            response=JSONArray.class)
    @ApiResponses(value = {
            @ApiResponse(code = 400, message = "Bad Request - Error details")
    })
    public Object getExpandedTree(@RequestBody GetExpandedTreeRequest request) {...}

Это снимок экрана пользовательского интерфейса, он не отображает что-либо близко к заметкам. Есть идеи почему?

enter image description here

...