Plan-API : adding the update swagger
This commit is contained in:
@@ -91,7 +91,18 @@ export const planSwaggerDocs = {
|
|||||||
required: true,
|
required: true,
|
||||||
content: {
|
content: {
|
||||||
"application/json": {
|
"application/json": {
|
||||||
example: JSON.stringify({}), // put your request body
|
example: JSON.stringify({
|
||||||
|
"planName": "PRO Plan",
|
||||||
|
"price": 12,
|
||||||
|
"planType": "PRO",
|
||||||
|
"planDesc": "The plan is only for pro users",
|
||||||
|
"planFeatures": {
|
||||||
|
"storage": "10GB",
|
||||||
|
"projects": 5,
|
||||||
|
"support": "Email Support"
|
||||||
|
}
|
||||||
|
|
||||||
|
}), // put your request body
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user