Getting Failed to api definition issue in the swagger module in the coldbox framework

I am using cbswagger and cbswaggerUI module for API documentaion in the coldbox framework.
Getting “failed to api definiation” error in the swagger, while adding the same routes with different method in the router.cfc

Example :
get( “/api/employee”, “v1.employee.index” );
post( “/api/employee”, “v1.employee.create” );

Do I need to add any configuration in the coldbox.cfc? Could you please give any idea to resolve this?