paramType: a parameter indicating where to put
header -> Get request parameters: @RequestHeader (receiving annotations code)
Query -> Get request parameters: @RequestParam (receiving annotation tag)
path (for restful Interface) - -> Get request parameters: @PathVariable (receiving annotation tag)
body -> Get request parameters: @RequestBody (receiving annotation tag)
form (not used)
Swagger中paramType
Guess you like
Origin www.cnblogs.com/yuluoxingkong/p/10972491.html
Recommended
Ranking