0

right now, I am making swagger doc.

swagger img

I want to customize that description about page, size and sort.

@GetMapping("/test")
public page<TestDTO> getTest(@ParameterObject Pageable pageable) {
      return page<TestDTO>
}

this is my brief code on controller.

is there a way to change that default description?

implementation 'org.springdoc:springdoc-openapi-ui:1.6.9'

this is my openapi implemenation in gradle.

I used @ParameterObject and @PageableAsQueryParam

but both only showed me the default description.

Helen
  • 87,344
  • 17
  • 243
  • 314
lizard
  • 1
  • 1

0 Answers0