8000 Calling DELETE /__admin/unused_mappings does not delete from __files · Issue #1 · MasonM/wiremock-unused-stubs-extension · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Apr 27, 2025. It is now read-only.
This repository was archived by the owner on Apr 27, 2025. It is now read-only.

Calling DELETE /__admin/unused_mappings does not delete from __files #1

@jmayday

Description

@jmayday

I've noticed that calling DELETE endpoint removes unused mappings by removing files from mappings dir, but does not remove files from __files dir (I keep mapping and body files separately). It would be perfect to include also unused body definitions from __files dir during removal process.

I understand that files could be shared between multiple mappings, but if there's a way to first check if a file could be safely removed then we should be OK.

PS. Thanks for great work!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0