What I'm trying to do with an API-blueprint (with dredd as testrunner) is calling a backend twice in a row with almost the same (complex) request. What I would like to do is define an input for a certain endpoint and have some placeholders in there, maybe with defaults if no parameters given.
Like : request 1, dataset x, param x = 0 => result = 'nothing to do'
Like : request 2, dataset x, param x = 100 => result = 'a whole lot to do'
Does apiblueprint supply in this functionality?
Searched for it, and schemas and models seem to come near, but I cannot find any example implementation that does exactly this.
Kind regards, Tim