taplo icon indicating copy to clipboard operation
taplo copied to clipboard

Updates schemastore endpoint

Open konn opened this issue 1 month ago • 2 comments

It seems that Schema Store recently changes their API endpoint to www.schemastore.org, instead of old json.schemastore.org for some reason. For example, although I could not find any actual discussion or announcement, this is stated here: https://github.com/microsoft/vscode/issues/254689.

It seems that json.* subdomain had lived for some duration, but it starts to fail to serve reliably, and results in unexpected linting error. This PR aims at fixing this just by rewriting schemastore catalog url. I confirmed that this should work by adding following lines to .taplo.toml:

[schema]
path = "https://www.schemastore.org/api/json/catalog.json"

konn avatar Nov 07 '25 07:11 konn

FYI - the project seems to be dead (https://github.com/tamasfe/taplo/issues/715#issuecomment-3506750454) - so I doubt this will be merged. It's probably better to switch to tombi

denysvitali-kaiko avatar Nov 10 '25 15:11 denysvitali-kaiko

@denysvitali-kaiko Oh, I didn't notice that. Thank you for your note! Meanwhile, I let this PR just as-is.

konn avatar Nov 11 '25 05:11 konn