https://linen.dev logo
Title
s

Sam

05/22/2023, 12:32 PM
Hello ! I was hoping someone could please help understand how to use subdirectories in the mappings folder when running standalone - I’ve googled around and found the setting
WatchStaticMappingsInSubdirectories
but cannot see anywhere how to configure the tool to use this many thanks!
a

Aaron

05/22/2023, 1:43 PM
This is for WireMock.NET?
o

Oleg Nenashev

05/22/2023, 1:59 PM
Seems so
s

Sam

05/22/2023, 2:00 PM
Ah my mistake! Is there a way to use multiple directories of static mappings?
o

Oleg Nenashev

05/23/2023, 12:54 PM
Better to ask in WireMock.NET channels then
s

Sam

05/23/2023, 3:18 PM
Thanks for the link, however I am not using WireMock.NET! I just came across that configuration googling for my problem. (multiple mappings directories / subdirectories) I am using https://hub.docker.com/r/wiremock/wiremock
o

Oleg Nenashev

05/23/2023, 3:41 PM
Ah ok, got confused by the previous response
a

Aaron

05/23/2023, 3:50 PM
I think I’m a little confused by the ask. Is the structure something like…
- project-root
-- mappings
--- folder1
--- folder2
--- folder3
or…
- project-root
-- mappings1
--- folderX
-- mappings2
--- folderY
?
s

Sam

05/23/2023, 4:59 PM
either one would be fine actually
ideally option 1
a

Aaron

05/23/2023, 6:03 PM
🤔 Option 1 should just work out of the box… What issues are you running into with your mappings?
s

Sam

05/24/2023, 8:13 AM
let me recheck and get back to you! apologies seems like this is likely to be user error