vscode-yaml icon indicating copy to clipboard operation
vscode-yaml copied to clipboard

Missing schemas from schemastore

Open ybizeul opened this issue 8 months ago • 4 comments

Describe the bug

Trying to apply Traefik v3 schema to currently editing traefik.yaml file but only getting Traefik v2 proposal, even though Traefik v3 is defined in https://www.schemastore.org/api/json/catalog.json

Image

Expected Behavior

Traefik v3 should be in the list

Current Behavior

Only Traefik v2 is listed

Steps to Reproduce

  1. Install vscode extension
  2. edit traefik.yaml file
  3. Syntax is matched to Traefik v2 syntax with no option to change it to Traefik v3

Environment

  • [ ] Windows
  • [x] Mac
  • [ ] Linux
  • [ ] other (please specify)

ybizeul avatar Jun 07 '25 08:06 ybizeul

I can also mention: Same on vscode on Windows

Image

SomeBelgianDude avatar Jun 25 '25 20:06 SomeBelgianDude

As a workaround, adding this line seems to be working :

# yaml-language-server: $schema=https://www.schemastore.org/traefik-v3.json

ybizeul avatar Aug 20 '25 13:08 ybizeul

I can confirm either adding the

# yaml-language-server: $schema=https://raw.githubusercontent.com/weaveworks/eksctl/main/pkg/apis/eksctl.io/v1alpha5/assets/schema.json

works or you can add it as an entry to your settings.json

  "yaml.schemas": {
    "https://raw.githubusercontent.com/weaveworks/eksctl/main/pkg/apis/eksctl.io/v1alpha5/assets/schema.json": "eksctl-*.yaml"
  },

But the thing is, even when I removed the plugin cache, it still doesn't download the schema for eksctl even though it is defined in https://www.schemastore.org/api/json/catalog.json

delaskoff avatar Sep 11 '25 17:09 delaskoff

Furthermore, the absence of the fileMatch for both Traefik v3 and eksctl entries in the https://www.schemastore.org/api/json/catalog.json can be related to this issue

delaskoff avatar Sep 11 '25 17:09 delaskoff