Skip to content

feat: provide config options for schemastore cache #180

@twelvelabs

Description

@twelvelabs

Would it be possible to provide options for json-schema-validator/no-invalid:

  1. Cache location. It seems to currently be hard coded to ./.cached_schemastore, but I'm using it in a docker container and that location isn't persisted between runs. I already have a persistent volume setup and I'd like to tell json-schema-validator to use that location.

  2. Cache TTL. Once I have json-schema-validator caching to a persistent location, I would like to tell it when to re-fetch the cached schema files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions