WireMock-Net / WireMock.Net

WireMock.Net is a flexible product for stubbing and mocking web HTTP responses using advanced request matching and response templating. Based on the functionality from http://WireMock.org, but extended with more functionality.
Apache License 2.0
1.36k stars 200 forks source link

Match route parameters to types #929

Closed Twinki14 closed 1 year ago

Twinki14 commented 1 year ago

Given I have a path like /site/<guid>/org, is there an easier syntax I could use instead of a regex/wild card? like /site/{{guid}}/org or /site/{{long}}/org, it'll match the route based on the type

StefH commented 1 year ago

@Twinki14 The easiest way to achieve this is use a regular expression.

StefH commented 1 year ago

@Twinki14 I'm closing this question for now.