8

I want my controller endpoints marked with @ApiOperation to come in a certain order in the Swagger spec. Tried to set position on @ApiOperation like this:

@ApiOperation(value = "xxx", position = 1)

seems to have no effect on the result. Any suggestions?

S. Pauk
  • 5,208
  • 4
  • 31
  • 41
  • 1
    Possible duplicate of [Swagger API Operations Ordering](https://stackoverflow.com/questions/41801387/swagger-api-operations-ordering) – Dherik Jul 01 '19 at 03:08

0 Answers0