Input json, to swagger frontend. How to customize the key-value description in json?

Mar.16,2021

requestbody completely defines a parameter class object in this place to receive


do you have to JSONObject? see you convert jsonObject directly into Resource.class
you can directly use @ RequestBody Resource resource
to achieve the effect you want. If the Resource object is special, you can create a new ResourceVo, to encapsulate ViewModel in the conversion to Resource object.

Menu