zallek / swagger-diff

Compute the diff between two swagger API specifications.
https://zallek.github.io/swagger-diff/
58 stars 30 forks source link

Is there a way to get 'method' in 'add-path' rule #34

Open kushubham9 opened 5 years ago

kushubham9 commented 5 years ago

Hi, Is there any way to get the supported methods when a new path is added?

like, { "ruleId": "add-path", "message": "/v2/user/id- Added", "path": "/v2/user/id" } should be { "ruleId": "add-path", "message": "/v2/user/id- Added", "path": "/v2/user/id", "method": "get" } if I have added a new endpoint 'GET /v2/user/id' ?