Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvement for the ability to use mapping and response folders #38

Open
jwattik opened this issue Jun 19, 2024 · 0 comments
Open

Improvement for the ability to use mapping and response folders #38

jwattik opened this issue Jun 19, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@jwattik
Copy link

jwattik commented Jun 19, 2024

Proposal

Adding a replacement "/" with "_" will allow you to create folders with files in mappings and responses to structure

wiremock/templates/configmap-mappings.yaml:15
{{ $key | trimPrefix "mappings/" | replace "/" "_" }}: {{ $files.Get $key | quote }} {{/* adapt $key as desired */}}

wiremock/templates/configmap-responses.yaml:15
{{ $key | trimPrefix "responses/" | replace "/" "_" }}: {{ $files.Get $key | quote }} {{/* adapt $key as desired */}}

References

No response

@jwattik jwattik added the enhancement New feature or request label Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant