node-red / nrlint

Node-RED Flow Linter
Apache License 2.0
36 stars 15 forks source link

overzealus duplicate HTTP-in detection #19

Closed kapet closed 3 years ago

kapet commented 3 years ago

Current Behavior

to implement a REST-like API I use multiple HTTP-in nodes with the same URL but different methods ("POST" vs "GET"). The linter considers these to be a problem and complains about a "Duplicate HTTP In URL"

Expected Behavior

linter recognizes that URLs might be the same but methods differ and so there is no actual conflict

Steps To Reproduce

see above

Example flow

n/a

Environment