We are implemented spring fox swagger 2 of version 2.6.1, i wanted to display a specific property of a resource for HTTP GET METHOD and not for POST METHOD, i haven't find any approach using swagger 2. Please help thanks.
For example:
Class Employee{
Integer id;
String name;
}
Request URI: GET /api/employee/{id} i should see the swagger request document as
{
id:"",
name:""
}
Request URI: POST /api/employee i should see the swagger request sample as
{
name:""
}