Hello, is there a way to obtain Wiremock version through its Administration API?
t
Tom
10/13/2023, 1:21 PM
Not at the moment, but there really should be.
Would happily accept a PR for this.
s
Simone
10/13/2023, 1:22 PM
Ok, thank you :-)
l
Lee Turner
10/15/2023, 10:17 AM
This sounds like a cool idea. How would we want this to work? Just return the version in the body with a text/plain content type or would we prefer a simple json response { “version”: 3.2.0 }
t
Tom
10/15/2023, 10:18 AM
Or do content negotiation if we want to be really swanky
l
Lee Turner
10/15/2023, 10:19 AM
Ah, fancy 😀
Would it also be worth add a version option to the command line options so users could check the version from the command line ?
I had a quick look at this over the weekend. Happy to put out a PR but don’t want to tread on Simone’s toes if they are looking at it at the same time ?