David Denton

Results 64 comments of David Denton

Thanks for the suggestion. Have you got a quick Gist to demonstrate the problem in action, or even better something to show the kind of solution that you were thinking...

Is there any reason that the example list has to be empty - for instance is it the case that the type of object that goes into the list is...

I took a quick look at defaulting the value instead of throwing the exception but that broke the model definition rendering (it lost the subsequent definitions), so I think this...

@ncreep One more thing that might help with regards to the "generating valid examples" problem - for our internal apps using fintrospect, we use Databob to generate valid random values...

@mkantor if you want to do the PR work of upgrading my fork to support 2.12 then I'll look at releasing it. I'm not sure what it will take in...

@mkantor lol. Looks like you're right! I admit that I totally forgot publishing this for 2.12 (it was a while ago). If anyone else wants to grab the reins of...

I try not to play with JUnit stuff beyond the absolute necessary! Good luck… :) On 21 Feb 2021, 22:34 +0000, Paul Hammant , wrote: > Cos I might be...

Thanks for the report. It looks like a tricky one to solve TBH (Regexes 🙄 ). I've added a failing test anyway [here](https://github.com/http4k/http4k/blob/c509eaa5baf3c090bceaa4cba428396ed1fb2c11/http4k-core/src/test/kotlin/org/http4k/core/UriTemplateTest.kt#L138)

I wonder if there isn't a test for "wrong content length" in our contract there should be... (If we can make it work!)

TBH we have no plans to add a module like this at the moment. PRs gratefully accepted though ;) What would be interesting is to find out exactly what type...