Skip to content

Commit

Permalink
Remove readOnly from nextLink (#418) (#549)
Browse files Browse the repository at this point in the history
Fix for #418
  • Loading branch information
markcowl authored Mar 29, 2024
1 parent 2a6b486 commit 87cadd4
Show file tree
Hide file tree
Showing 46 changed files with 101 additions and 208 deletions.
8 changes: 8 additions & 0 deletions .chronus/changes/fix-page-2024-2-29-20-37-54.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
changeKind: fix
packages:
- "@azure-tools/typespec-azure-core"
---

Remove readOnly from nextLink in templates (#418)
Original file line number Diff line number Diff line change
Expand Up @@ -1110,8 +1110,7 @@
"nextLink": {
"type": "string",
"format": "uri",
"description": "The link to the next page of items",
"readOnly": true
"description": "The link to the next page of items"
}
},
"required": [
Expand All @@ -1133,8 +1132,7 @@
"nextLink": {
"type": "string",
"format": "uri",
"description": "The link to the next page of items",
"readOnly": true
"description": "The link to the next page of items"
}
},
"required": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -836,7 +836,6 @@ components:
type: string
format: uri
description: The link to the next page of items
readOnly: true
description: Paged collection of Manufacturer items
PagedWidget:
type: object
Expand All @@ -852,7 +851,6 @@ components:
type: string
format: uri
description: The link to the next page of items
readOnly: true
description: Paged collection of Widget items
RepeatabilityResult:
type: string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -558,8 +558,7 @@
"nextLink": {
"type": "string",
"format": "uri",
"description": "The link to the next page of items",
"readOnly": true
"description": "The link to the next page of items"
}
},
"required": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,6 @@ components:
type: string
format: uri
description: The link to the next page of items
readOnly: true
description: Paged collection of Widget items
RepeatabilityResult:
type: string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2037,8 +2037,7 @@
"nextLink": {
"type": "string",
"format": "uri",
"description": "The link to the next page of items",
"readOnly": true
"description": "The link to the next page of items"
}
},
"required": [
Expand All @@ -2060,8 +2059,7 @@
"nextLink": {
"type": "string",
"format": "uri",
"description": "The link to the next page of items",
"readOnly": true
"description": "The link to the next page of items"
}
},
"required": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1421,7 +1421,6 @@ components:
type: string
format: uri
description: The link to the next page of items
readOnly: true
description: Paged collection of ModelSummary items
PagedOperationInfo:
type: object
Expand All @@ -1437,7 +1436,6 @@ components:
type: string
format: uri
description: The link to the next page of items
readOnly: true
description: Paged collection of OperationInfo items
SelectionMarkState:
anyOf:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1191,8 +1191,7 @@
"nextLink": {
"type": "string",
"format": "uri",
"description": "The link to the next page of items",
"readOnly": true
"description": "The link to the next page of items"
}
},
"required": [
Expand All @@ -1214,8 +1213,7 @@
"nextLink": {
"type": "string",
"format": "uri",
"description": "The link to the next page of items",
"readOnly": true
"description": "The link to the next page of items"
}
},
"required": [
Expand All @@ -1237,8 +1235,7 @@
"nextLink": {
"type": "string",
"format": "uri",
"description": "The link to the next page of items",
"readOnly": true
"description": "The link to the next page of items"
}
},
"required": [
Expand All @@ -1260,8 +1257,7 @@
"nextLink": {
"type": "string",
"format": "uri",
"description": "The link to the next page of items",
"readOnly": true
"description": "The link to the next page of items"
}
},
"required": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -903,7 +903,6 @@ components:
type: string
format: uri
description: The link to the next page of items
readOnly: true
description: Paged collection of Deployment items
PagedProject:
type: object
Expand All @@ -919,7 +918,6 @@ components:
type: string
format: uri
description: The link to the next page of items
readOnly: true
description: Paged collection of Project items
PagedSupportedLanguage:
type: object
Expand All @@ -935,7 +933,6 @@ components:
type: string
format: uri
description: The link to the next page of items
readOnly: true
description: A collection of SupportedLanguage resources.
PagedTrainingConfigVersion:
type: object
Expand All @@ -951,7 +948,6 @@ components:
type: string
format: uri
description: The link to the next page of items
readOnly: true
description: A collection of TrainingConfigVersion resources.
Project:
type: object
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1479,8 +1479,7 @@
"nextLink": {
"type": "string",
"format": "uri",
"description": "The link to the next page of items",
"readOnly": true
"description": "The link to the next page of items"
}
},
"required": [
Expand All @@ -1502,8 +1501,7 @@
"nextLink": {
"type": "string",
"format": "uri",
"description": "The link to the next page of items",
"readOnly": true
"description": "The link to the next page of items"
}
},
"required": [
Expand All @@ -1525,8 +1523,7 @@
"nextLink": {
"type": "string",
"format": "uri",
"description": "The link to the next page of items",
"readOnly": true
"description": "The link to the next page of items"
}
},
"required": [
Expand All @@ -1548,8 +1545,7 @@
"nextLink": {
"type": "string",
"format": "uri",
"description": "The link to the next page of items",
"readOnly": true
"description": "The link to the next page of items"
}
},
"required": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1119,7 +1119,6 @@ components:
type: string
format: uri
description: The link to the next page of items
readOnly: true
description: Paged collection of ProjectDeployment items
PagedProjectMetadata:
type: object
Expand All @@ -1135,7 +1134,6 @@ components:
type: string
format: uri
description: The link to the next page of items
readOnly: true
description: Paged collection of ProjectMetadata items
PagedQnaSourceRecord:
type: object
Expand All @@ -1151,7 +1149,6 @@ components:
type: string
format: uri
description: The link to the next page of items
readOnly: true
description: Paged collection of QnaSourceRecord items
PagedSynonymAsset:
type: object
Expand All @@ -1167,7 +1164,6 @@ components:
type: string
format: uri
description: The link to the next page of items
readOnly: true
description: Paged collection of SynonymAsset items
ProjectDeployment:
type: object
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1014,8 +1014,7 @@
"nextLink": {
"type": "string",
"format": "uri",
"description": "The link to the next page of items",
"readOnly": true
"description": "The link to the next page of items"
}
},
"required": [
Expand All @@ -1037,8 +1036,7 @@
"nextLink": {
"type": "string",
"format": "uri",
"description": "The link to the next page of items",
"readOnly": true
"description": "The link to the next page of items"
}
},
"required": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1110,8 +1110,7 @@
"nextLink": {
"type": "string",
"format": "uri",
"description": "The link to the next page of items",
"readOnly": true
"description": "The link to the next page of items"
}
},
"required": [
Expand All @@ -1133,8 +1132,7 @@
"nextLink": {
"type": "string",
"format": "uri",
"description": "The link to the next page of items",
"readOnly": true
"description": "The link to the next page of items"
}
},
"required": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -753,7 +753,6 @@ components:
type: string
format: uri
description: The link to the next page of items
readOnly: true
description: Paged collection of Manufacturer items
PagedWidget:
type: object
Expand All @@ -769,7 +768,6 @@ components:
type: string
format: uri
description: The link to the next page of items
readOnly: true
description: Paged collection of Widget items
RepeatabilityResult:
type: string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -837,7 +837,6 @@ components:
type: string
format: uri
description: The link to the next page of items
readOnly: true
description: Paged collection of Manufacturer items
PagedWidget:
type: object
Expand All @@ -853,7 +852,6 @@ components:
type: string
format: uri
description: The link to the next page of items
readOnly: true
description: Paged collection of Widget items
RepeatabilityResult:
type: string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2006,8 +2006,7 @@
"nextLink": {
"type": "string",
"format": "uri",
"description": "The link to the next page of items",
"readOnly": true
"description": "The link to the next page of items"
}
},
"required": [
Expand All @@ -2029,8 +2028,7 @@
"nextLink": {
"type": "string",
"format": "uri",
"description": "The link to the next page of items",
"readOnly": true
"description": "The link to the next page of items"
}
},
"required": [
Expand All @@ -2052,8 +2050,7 @@
"nextLink": {
"type": "string",
"format": "uri",
"description": "The link to the next page of items",
"readOnly": true
"description": "The link to the next page of items"
}
},
"required": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1471,7 +1471,6 @@ components:
type: string
format: uri
description: The link to the next page of items
readOnly: true
description: Paged collection of Manufacturer items
PagedWidget:
type: object
Expand All @@ -1487,7 +1486,6 @@ components:
type: string
format: uri
description: The link to the next page of items
readOnly: true
description: Paged collection of Widget items
PagedWidgetPart:
type: object
Expand All @@ -1503,7 +1501,6 @@ components:
type: string
format: uri
description: The link to the next page of items
readOnly: true
description: Paged collection of WidgetPart items
RepeatabilityResult:
type: string
Expand Down
Loading

0 comments on commit 87cadd4

Please sign in to comment.