Skip to content

[Bug]: The schema from the example doesnt point to valid url #477

Description

@dbash13

PowerShell Version

Both 5.1 and 7.x

Operating System

Windows

Module Version

2.1.4

What happened?

When creating a module manifest using New-PlasterManifest, the output property $schema uses and invalid URL (HTTP 404).

Image

Until the manifest is uploaded to other manifests provider, the correct URL isn't this one?
https://raw.githubusercontent.com/PowerShellOrg/Plaster/main/Plaster/Schema/plaster-manifest-v2.json

Expected behavior

Auto complete and validation must works on json manifest edits

Minimal reproduction

Just invoking a new module manifest

Error output / logs

{
  "$schema": "https://raw.githubusercontent.com/PowerShellOrg/Plaster/v2/schema/plaster-manifest-v2.json",
  "schemaVersion": "2.0",
  "metadata": {
    "name": "TestManifest",
    "id": "83f20436-59b0-4904-864d-70042948c22e",
    "version": "1.0.0",
    "title": "testing",
    "description": "",
    "author": "",
    "templateType": "Item"
  },
  "parameters": [],
  "content": []
}

Additional context

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions