我在以下swagger json下方,我想更新参数内的description字段,并且我正在使用spring boot并具有依赖项'springfox-swagger2',版本:'2.9.2'
"/recommendations/aggregatedRecommendations": {
"post": {
"tags": [
"recommendation-controller"
],
"summary": "view aggregated recommendations",
"operationId": "getAggregatedRecommendationsUsingPOST",
"consumes": [
"application/json"
],
"produces": [
"*/*"
],
"parameters": [
{
"in": "body",
"name": "aggregatedRecommendationRequest",
"description": "aggregatedRecommendationRequest",
"required": true,
"schema": {
"$ref": "#/definitions/AggregatedRecommendationRequest"
}
}
]