Repository navigation
Conversation
JohnMcPMS
reviewed
Jul 9, 2021
| AgreementUrl: | ||
| description: The agreement url. | ||
| $ref: '#/components/schemas/Url' | ||
| required: |
Member
There was a problem hiding this comment.
Is there no "one of" concept in the schema definition? Or should we have two subtypes and an option? #Closed
yao-msft
commented
Jul 9, 2021
| # Server API Calls | ||
| /information: | ||
| parameters: | ||
| - $ref: '#/components/parameters/APIVersion' |
Contributor
Author
yao-msft
commented
Jul 9, 2021
| Windows-Package-Manager: | ||
| description: Custom header value to be passed along all rest calls from winget. | ||
| type: string | ||
| maxLength: 10000 |
Contributor
Author
yao-msft
commented
Jul 9, 2021
| type: object | ||
| properties: | ||
| AgreementLabel: | ||
| description: The label of the agreement. i.e. EULA, AgeRating, etc |
Contributor
Author
yao-msft
commented
Jul 9, 2021
| description: The label of the agreement. i.e. EULA, AgeRating, etc | ||
| type: string | ||
| minLength: 1 | ||
| maxLength: 40 |
yao-msft
commented
Jul 9, 2021
| description: The agreement text content. | ||
| nullable: true | ||
| type: string | ||
| minLength: 3 |
yao-msft
commented
Jul 9, 2021
| minLength: 1 | ||
| maxLength: 40 | ||
| Agreement: | ||
| description: The agreement text content. |
Contributor
Author
yao-msft
commented
Jul 9, 2021
| description: The agreement url. | ||
| $ref: '#/components/schemas/Url' | ||
| required: | ||
| - AgreementLabel |
yao-msft
commented
Jul 9, 2021
| description: List of agreements. | ||
| type: array | ||
| nullable: true | ||
| uniqueItems: true |
Contributor
Author
yao-msft
commented
Jul 9, 2021
| description: Package release notes. | ||
| type: string | ||
| nullable: true | ||
| minLength: 3 |
yao-msft
commented
Jul 9, 2021
| $ref: '#/components/schemas/Markets' | ||
| required: | ||
| - Architecture | ||
| - InstallerUrl |
Contributor
Author
yao-msft
commented
Jul 9, 2021
| enum: | ||
| - neutral | ||
|
|
||
| ProductId: |
Contributor
Author
yao-msft
commented
Jul 9, 2021
| description: The installer markets | ||
| type: object | ||
| properties: | ||
| AllowedMarkets: |
Contributor
Author
yao-msft
commented
Jul 9, 2021
| description: Indicates whether the installer requires an install location provided. | ||
| type: boolean | ||
|
|
||
| AutoPin: |
Contributor
Author
yao-msft
commented
Jul 9, 2021
| description: The Publisher | ||
| type: string | ||
| nullable: true | ||
| minLength: 2 |
yao-msft
commented
Jul 9, 2021
| description: The DisplayName | ||
| type: string | ||
| nullable: true | ||
| minLength: 2 |
yao-msft
commented
Jul 9, 2021
| SourceAgreement: | ||
| description: The source agreement users must accept before using the source. | ||
| type: string | ||
| minLength: 3 |
yao-msft
commented
Jul 9, 2021
| $ref: '#/components/schemas/MinimumOSVersion' | ||
| InstallerType: | ||
| $ref: '#/components/schemas/InstallerType' | ||
| NestedInstallerType: |
Contributor
Author
yao-msft
commented
Jul 9, 2021
| AppsAndFeaturesEntry: | ||
| description: Various key values under installer's ARP entry. | ||
| type: object | ||
| properties: |
Contributor
Author
yao-msft
commented
Jul 9, 2021
| description: Various key values under installer's ARP entry. | ||
| type: object | ||
| properties: | ||
| AppName: |
Contributor
Author
yao-msft
commented
Jul 9, 2021
| minLength: 3 | ||
| maxLength: 128 | ||
|
|
||
| SourceAgreement: |
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I directly modified on the v1.0 spec for easier review of what changed between 1.1.0 and 1.0.0.
Will send another pr with copy of v1.1.0 schema after finalized.