Skip to content

The docs for the manifest don't match the schema for ExpectedReturnCodes #116421

@denelon

Description

@denelon

Discussed in #115765

Originally posted by corbob August 8, 2023
If you look at this part of the docs for the manifest:

- ExpectedReturnCode: # Optional non-zero installer return code
, it says that the element name is ExtpectedReturnCode, but if you use this, then winget validate -m . will fail, as the Schema says that it is InstallerReturnCode: https://github.com/microsoft/winget-cli/blob/abd0f94866e51a0e64c5aa363248dd7da321aa15/schemas/JSON/manifests/v1.4.0/manifest.installer.1.4.0.json#L218.

(Note: this appears to be a discrepancy across all of the schema versions, so would likely be good to verify and update them all)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-DocsIt's a documentation issue that really should be on MicrosoftDocs

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions