mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-11 22:30:41 +01:00
Can I build mappings with code and save them to JSON-file without starting server #480
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Eshva on GitHub (Dec 21, 2022).
I want prepare mappings with code, save them as JSON-files and use them latter as static mappings. Currently I've found such a way to do it:
It works but I have to start a server. Can I do it without starting a server somehow?
@StefH commented on GitHub (Dec 21, 2022):
I could maybe expose some internal logic to do this?
@Eshva commented on GitHub (Dec 22, 2022):
Yes, I think so. It makes the library more robust and versatile. In my mind
the Server class is responsible for too many things.
Stef Heyenrath @.***> 21 декабря 2022 г. 6:32:05 PM
написал: