Thanks, this is exactly the kind of thing I'm looking for. Wish I'd found this a week ago, as I've nearly finished writing my own impl :-(
I've noticed that only the POMs are published on Maven central, not the full artifacts. Is this deliberate? I also noticed there's some work left to do validating specific string formats. Would you be happy to accept a PR or two to add these? Finally, any objection to me bumping up to the latest WireMock version while I'm at it? Cheers, Tom On Monday, September 26, 2016 at 1:03:57 AM UTC+1, James Navin wrote: > > I faced a similar situation and ended up writing my own. Its open source > and available at https://bitbucket.org/atlassian/swagger-request-validator > > Its framework agnostic and has adapters for WireMock (as well as Rest > Assured and Pact). > > Feel free to raise any issues you find on the issue tracker attached to > the repo. > > On Tuesday, September 20, 2016 at 9:08:10 PM UTC+10, Tom Akehurst wrote: >> >> Hello! >> >> I'm trying to find a good way to implement the following use case: >> I'm building a WireMock-based mock of a 3rd party API my project depends >> on. I'd like to be able to write a suite of tests that can be run against >> either the real API or the mock, where each HTTP request/response is >> captured and validated against a Swagger spec. >> >> I realise swagger-inflector is capable of validating exchanges, but it >> appears to be tied to a specific server-side stack (please correct me if >> I'm wrong!). I'd like a library with a similar architecture to this one for >> RAML, which works against its own HTTP model and has adapters for various >> HTTP clients: https://github.com/nidi3/raml-tester. That way I can run >> it client or server, pick my own client and adapt it to WireMock's request >> log API. >> >> If such a library exists, please can somebody point me to it? >> >> If it doesn't there's a good chance I'll end up writing it, so my next >> question (for core community members) is: Would this would be of interest >> for community adoption? >> >> Thanks, >> Tom >> > -- You received this message because you are subscribed to the Google Groups "Swagger" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
