joffrey-bion / livedoc

A not-so-annotation-based documentation generator for REST and websocket services
MIT License
4 stars 2 forks source link

Query param absence support #39

Open joffrey-bion opened 7 years ago

joffrey-bion commented 7 years ago

From the Spring doc, query params in @RequestMapping can be negated, thus resolving only requests without the given parameter:

Expressions can be negated by using the "!=" operator, as in "myParam!=myValue". "myParam" style expressions are also supported, with such parameters having to be present in the request (allowed to have any value). Finally, "!myParam" style expressions indicate that the specified parameter is not supposed to be present in the request.