Skip to content

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

Open
@jwattik

Description

@jwattik

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions