I tried to generate spec file from specgen. While uploading that generated file, I got errors in apigee edge. give me suggestion as soon as possible
Solved! Go to Solution.
Thanks for the details. It would have been better if you copy-pasted your Swagger.
You need to add a schema to your body parameter,
Sample schema,
"parameters": [ { "in": "query", "name": "query", "type":"string", "description": "some-descc", "required": true }, { "name": "body", "in":"body", "description": "some-desc", "required": true, "schema": { "type": "object", "properties": { "param1": { "type": "string" }, "param2": { "type": "string" } } } } ]