I'm trying to build a mock server where the first part of the uri path (what would be the "group" directory in the folder structure) is a dynamic path param. Something like:
localhost:3001/{apiVersion}/somethingElse.
I changed the default urlPath to '' and then placed a directory named #apiVersion under rest. But that didn't work. I also tried using a group directory called # and in it the #apiVersion one, and finally tried putting the dynamic path param in the default urlPath, but that didn't work either.
Is it possible to do this? Can you help me out see what I'm missing?
Hi! Thank you for this awesome tool :)
I'm trying to build a mock server where the first part of the uri path (what would be the "group" directory in the folder structure) is a dynamic path param. Something like:
localhost:3001/{apiVersion}/somethingElse
.I changed the default urlPath to
''
and then placed a directory named#apiVersion
underrest
. But that didn't work. I also tried using a group directory called#
and in it the#apiVersion
one, and finally tried putting the dynamic path param in the default urlPath, but that didn't work either.Is it possible to do this? Can you help me out see what I'm missing?
Thank you again!