Schema for adapted resource is not deployed

Aperta
#1,801 2 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@michaeltlombardi ci sta già lavorando.

Dal 13/11/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

Issue-Bug Need-Review
Prerequisites
  • Write a descriptive title.
  • Make sure you are able to repro it on the latest version
  • Search the existing issues.
Summary

Trying to write an adapted resource is annoying because neither https://aka.ms/dsc/schemas/v3/bundled/resource/adapted/manifest.json (as used in the personalization resource) nor https://aka.ms/dsc/schemas/v3/bundled/adaptedresource/manifest.json (as defined in the source yaml) exists.

As the source yaml exists, it's presumably a question of actually building and publishing the json schema in the right place (wherever that is) and setting up the aka.ms redirect (however that is done)

Steps to reproduce

In VSCode with the RedHat YAML extension, write the following:

$schema: https://aka.ms/dsc/schemas/v3/bundled/resource/adapted/manifest.json

Note how it errors out and you don't get code completion, because the aka.ms link redirects to Bing.

Expected behavior
Code completion works.
Actual behavior
manifest.json(1, 1): Unable to parse content from 'https://aka.ms/dsc/schemas/v3/bundled/resource/adapted/manifest.json': Parse error at line: 1 column: 1
Error details

Environment data
Name                           Value
----                           -----
PSVersion                      5.1.26100.9711
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.26100.9711
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
Version

3.3.0

Visuals

No response

Lingua principale
Rust
Stelle
545
Fork
82
Merge medio
4g 16h
PR unite (30g)
21

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di PowerShell/DSC

Tutte le issue di PowerShell/DSC

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.