Can't handle Request Param/SubRessource conflict

Issue #371 new
Former user created an issue

How to reproduce: 1. Define a path GET v1/house/{id} //id is the UUID identifiing a unique house 1. Define a path GET v1/house/window //list all windows of all houses

Behavior: Validation Error "Input string "window" is not a valid UUID"

Expected behavior: no validation error as the path is v1/house/window exists and should be considered

Suggestion: order the paths, where concrete path comes before the one with path-params see also https://stackoverflow.com/questions/32898926/subresource-and-path-variable-conflicts-in-rest

Comments (0)

  1. Log in to comment