From 87cadd48680e911070f355784a269f1f2087c1d7 Mon Sep 17 00:00:00 2001 From: Mark Cowlishaw Date: Fri, 29 Mar 2024 14:34:48 -0700 Subject: [PATCH] Remove readOnly from nextLink (#418) (#549) Fix for #418 --- .../changes/fix-page-2024-2-29-20-37-54.md | 8 ++++ .../typespec-autorest/2022-08-31/openapi.json | 6 +-- .../openapi3/openapi.2022-08-31.yaml | 2 - .../typespec-autorest/2022-08-31/openapi.json | 3 +- .../openapi3/openapi.2022-08-31.yaml | 1 - .../typespec-autorest/openapi.json | 6 +-- .../@typespec/openapi3/openapi.yaml | 2 - .../typespec-autorest/openapi.json | 12 ++---- .../authoring/@typespec/openapi3/openapi.yaml | 4 -- .../typespec-autorest/openapi.json | 12 ++---- .../Raw/@typespec/openapi3/openapi.yaml | 4 -- .../typespec-autorest/2022-08-31/openapi.json | 6 +-- .../typespec-autorest/2023-02-07/openapi.json | 6 +-- .../openapi3/openapi.2022-08-31.yaml | 2 - .../openapi3/openapi.2023-02-07.yaml | 2 - .../typespec-autorest/2022-08-31/openapi.json | 9 ++-- .../openapi3/openapi.2022-08-31.yaml | 3 -- .../typespec-autorest/openapi.json | 18 +++----- .../2021-10-01-preview/openapi.json | 3 +- .../2021-10-01-preview/openapi.json | 3 +- .../2021-10-01-preview/openapi.json | 3 +- .../2021-10-01-preview/openapi.json | 6 +-- .../2021-10-01-preview/openapi.json | 3 +- .../2021-10-01-preview/openapi.json | 3 +- .../2021-10-01-preview/openapi.json | 3 +- .../2021-10-01-preview/openapi.json | 3 +- .../typespec-autorest/openapi.json | 6 +-- .../typespec-autorest/openapi.json | 3 +- .../typespec-autorest/openapi.json | 3 +- .../typespec-autorest/openapi.json | 3 +- .../typespec-autorest/openapi.json | 3 +- .../2021-06-13-preview/openapi.json | 15 +++---- .../2022-04-30-preview/openapi.json | 15 +++---- .../typespec-autorest/openapi.json | 6 +-- .../typespec-autorest/openapi.json | 6 +-- .../typespec-autorest/openapi.json | 3 +- .../typespec-autorest/openapi.json | 6 +-- .../typespec-autorest/openapi.json | 18 +++----- .../typespec-autorest/openapi.json | 42 +++++++------------ .../2023-08-01-preview/openapi.json | 9 ++-- .../2023-11-01-preview/openapi.json | 9 ++-- .../typespec-autorest/openapi.json | 3 +- .../typespec-autorest/openapi.json | 9 ++-- .../typespec-autorest/openapi.json | 15 +++---- .../typespec-azure-core/lib/foundations.tsp | 1 - packages/typespec-azure-core/lib/models.tsp | 1 - 46 files changed, 101 insertions(+), 208 deletions(-) create mode 100644 .chronus/changes/fix-page-2024-2-29-20-37-54.md diff --git a/.chronus/changes/fix-page-2024-2-29-20-37-54.md b/.chronus/changes/fix-page-2024-2-29-20-37-54.md new file mode 100644 index 0000000000..53330ad20d --- /dev/null +++ b/.chronus/changes/fix-page-2024-2-29-20-37-54.md @@ -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) diff --git a/packages/samples/test/output/azure/core/data-plane/api-path-parameter/@azure-tools/typespec-autorest/2022-08-31/openapi.json b/packages/samples/test/output/azure/core/data-plane/api-path-parameter/@azure-tools/typespec-autorest/2022-08-31/openapi.json index 5d1caeae47..837ba96f12 100644 --- a/packages/samples/test/output/azure/core/data-plane/api-path-parameter/@azure-tools/typespec-autorest/2022-08-31/openapi.json +++ b/packages/samples/test/output/azure/core/data-plane/api-path-parameter/@azure-tools/typespec-autorest/2022-08-31/openapi.json @@ -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": [ @@ -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": [ diff --git a/packages/samples/test/output/azure/core/data-plane/api-path-parameter/@typespec/openapi3/openapi.2022-08-31.yaml b/packages/samples/test/output/azure/core/data-plane/api-path-parameter/@typespec/openapi3/openapi.2022-08-31.yaml index 38bbd1046a..ecef77debb 100644 --- a/packages/samples/test/output/azure/core/data-plane/api-path-parameter/@typespec/openapi3/openapi.2022-08-31.yaml +++ b/packages/samples/test/output/azure/core/data-plane/api-path-parameter/@typespec/openapi3/openapi.2022-08-31.yaml @@ -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 @@ -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 diff --git a/packages/samples/test/output/azure/core/data-plane/custom-error-type/@azure-tools/typespec-autorest/2022-08-31/openapi.json b/packages/samples/test/output/azure/core/data-plane/custom-error-type/@azure-tools/typespec-autorest/2022-08-31/openapi.json index 9bc882df32..cc9e15912e 100644 --- a/packages/samples/test/output/azure/core/data-plane/custom-error-type/@azure-tools/typespec-autorest/2022-08-31/openapi.json +++ b/packages/samples/test/output/azure/core/data-plane/custom-error-type/@azure-tools/typespec-autorest/2022-08-31/openapi.json @@ -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": [ diff --git a/packages/samples/test/output/azure/core/data-plane/custom-error-type/@typespec/openapi3/openapi.2022-08-31.yaml b/packages/samples/test/output/azure/core/data-plane/custom-error-type/@typespec/openapi3/openapi.2022-08-31.yaml index ca981503e5..42f0686242 100644 --- a/packages/samples/test/output/azure/core/data-plane/custom-error-type/@typespec/openapi3/openapi.2022-08-31.yaml +++ b/packages/samples/test/output/azure/core/data-plane/custom-error-type/@typespec/openapi3/openapi.2022-08-31.yaml @@ -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 diff --git a/packages/samples/test/output/azure/core/data-plane/formrecognizer/@azure-tools/typespec-autorest/openapi.json b/packages/samples/test/output/azure/core/data-plane/formrecognizer/@azure-tools/typespec-autorest/openapi.json index ee79956bdf..2088ebcced 100644 --- a/packages/samples/test/output/azure/core/data-plane/formrecognizer/@azure-tools/typespec-autorest/openapi.json +++ b/packages/samples/test/output/azure/core/data-plane/formrecognizer/@azure-tools/typespec-autorest/openapi.json @@ -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": [ @@ -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": [ diff --git a/packages/samples/test/output/azure/core/data-plane/formrecognizer/@typespec/openapi3/openapi.yaml b/packages/samples/test/output/azure/core/data-plane/formrecognizer/@typespec/openapi3/openapi.yaml index f0091d02f3..e811d93451 100644 --- a/packages/samples/test/output/azure/core/data-plane/formrecognizer/@typespec/openapi3/openapi.yaml +++ b/packages/samples/test/output/azure/core/data-plane/formrecognizer/@typespec/openapi3/openapi.yaml @@ -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 @@ -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: diff --git a/packages/samples/test/output/azure/core/data-plane/language/authoring/@azure-tools/typespec-autorest/openapi.json b/packages/samples/test/output/azure/core/data-plane/language/authoring/@azure-tools/typespec-autorest/openapi.json index beed4d0e21..4c490c1944 100644 --- a/packages/samples/test/output/azure/core/data-plane/language/authoring/@azure-tools/typespec-autorest/openapi.json +++ b/packages/samples/test/output/azure/core/data-plane/language/authoring/@azure-tools/typespec-autorest/openapi.json @@ -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": [ @@ -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": [ @@ -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": [ @@ -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": [ diff --git a/packages/samples/test/output/azure/core/data-plane/language/authoring/@typespec/openapi3/openapi.yaml b/packages/samples/test/output/azure/core/data-plane/language/authoring/@typespec/openapi3/openapi.yaml index f11e6dd400..f93d57d4e0 100644 --- a/packages/samples/test/output/azure/core/data-plane/language/authoring/@typespec/openapi3/openapi.yaml +++ b/packages/samples/test/output/azure/core/data-plane/language/authoring/@typespec/openapi3/openapi.yaml @@ -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 @@ -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 @@ -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 @@ -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 diff --git a/packages/samples/test/output/azure/core/data-plane/languageqna/Raw/@azure-tools/typespec-autorest/openapi.json b/packages/samples/test/output/azure/core/data-plane/languageqna/Raw/@azure-tools/typespec-autorest/openapi.json index be8c6361cc..5dc82e5641 100644 --- a/packages/samples/test/output/azure/core/data-plane/languageqna/Raw/@azure-tools/typespec-autorest/openapi.json +++ b/packages/samples/test/output/azure/core/data-plane/languageqna/Raw/@azure-tools/typespec-autorest/openapi.json @@ -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": [ @@ -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": [ @@ -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": [ @@ -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": [ diff --git a/packages/samples/test/output/azure/core/data-plane/languageqna/Raw/@typespec/openapi3/openapi.yaml b/packages/samples/test/output/azure/core/data-plane/languageqna/Raw/@typespec/openapi3/openapi.yaml index 8a8a738386..e82feac441 100644 --- a/packages/samples/test/output/azure/core/data-plane/languageqna/Raw/@typespec/openapi3/openapi.yaml +++ b/packages/samples/test/output/azure/core/data-plane/languageqna/Raw/@typespec/openapi3/openapi.yaml @@ -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 @@ -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 @@ -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 @@ -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 diff --git a/packages/samples/test/output/azure/core/data-plane/trait-versioning/@azure-tools/typespec-autorest/2022-08-31/openapi.json b/packages/samples/test/output/azure/core/data-plane/trait-versioning/@azure-tools/typespec-autorest/2022-08-31/openapi.json index ae8877d224..598bae4b0e 100644 --- a/packages/samples/test/output/azure/core/data-plane/trait-versioning/@azure-tools/typespec-autorest/2022-08-31/openapi.json +++ b/packages/samples/test/output/azure/core/data-plane/trait-versioning/@azure-tools/typespec-autorest/2022-08-31/openapi.json @@ -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": [ @@ -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": [ diff --git a/packages/samples/test/output/azure/core/data-plane/trait-versioning/@azure-tools/typespec-autorest/2023-02-07/openapi.json b/packages/samples/test/output/azure/core/data-plane/trait-versioning/@azure-tools/typespec-autorest/2023-02-07/openapi.json index 5996ef3418..be1e609371 100644 --- a/packages/samples/test/output/azure/core/data-plane/trait-versioning/@azure-tools/typespec-autorest/2023-02-07/openapi.json +++ b/packages/samples/test/output/azure/core/data-plane/trait-versioning/@azure-tools/typespec-autorest/2023-02-07/openapi.json @@ -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": [ @@ -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": [ diff --git a/packages/samples/test/output/azure/core/data-plane/trait-versioning/@typespec/openapi3/openapi.2022-08-31.yaml b/packages/samples/test/output/azure/core/data-plane/trait-versioning/@typespec/openapi3/openapi.2022-08-31.yaml index 688b6e0ded..624d5f4a46 100644 --- a/packages/samples/test/output/azure/core/data-plane/trait-versioning/@typespec/openapi3/openapi.2022-08-31.yaml +++ b/packages/samples/test/output/azure/core/data-plane/trait-versioning/@typespec/openapi3/openapi.2022-08-31.yaml @@ -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 @@ -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 diff --git a/packages/samples/test/output/azure/core/data-plane/trait-versioning/@typespec/openapi3/openapi.2023-02-07.yaml b/packages/samples/test/output/azure/core/data-plane/trait-versioning/@typespec/openapi3/openapi.2023-02-07.yaml index 26d533be6d..4e58c53855 100644 --- a/packages/samples/test/output/azure/core/data-plane/trait-versioning/@typespec/openapi3/openapi.2023-02-07.yaml +++ b/packages/samples/test/output/azure/core/data-plane/trait-versioning/@typespec/openapi3/openapi.2023-02-07.yaml @@ -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 @@ -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 diff --git a/packages/samples/test/output/azure/core/data-plane/widget-manager/@azure-tools/typespec-autorest/2022-08-31/openapi.json b/packages/samples/test/output/azure/core/data-plane/widget-manager/@azure-tools/typespec-autorest/2022-08-31/openapi.json index 323e9482bd..6c7712061f 100644 --- a/packages/samples/test/output/azure/core/data-plane/widget-manager/@azure-tools/typespec-autorest/2022-08-31/openapi.json +++ b/packages/samples/test/output/azure/core/data-plane/widget-manager/@azure-tools/typespec-autorest/2022-08-31/openapi.json @@ -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": [ @@ -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": [ @@ -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": [ diff --git a/packages/samples/test/output/azure/core/data-plane/widget-manager/@typespec/openapi3/openapi.2022-08-31.yaml b/packages/samples/test/output/azure/core/data-plane/widget-manager/@typespec/openapi3/openapi.2022-08-31.yaml index 4ec8201905..d9cfb92383 100644 --- a/packages/samples/test/output/azure/core/data-plane/widget-manager/@typespec/openapi3/openapi.2022-08-31.yaml +++ b/packages/samples/test/output/azure/core/data-plane/widget-manager/@typespec/openapi3/openapi.2022-08-31.yaml @@ -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 @@ -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 @@ -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 diff --git a/packages/samples/test/output/azure/resource-manager/arm-library/@azure-tools/typespec-autorest/openapi.json b/packages/samples/test/output/azure/resource-manager/arm-library/@azure-tools/typespec-autorest/openapi.json index ece4695a69..9c71b5c178 100644 --- a/packages/samples/test/output/azure/resource-manager/arm-library/@azure-tools/typespec-autorest/openapi.json +++ b/packages/samples/test/output/azure/resource-manager/arm-library/@azure-tools/typespec-autorest/openapi.json @@ -1672,8 +1672,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": [ @@ -2002,8 +2001,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": [ @@ -2049,8 +2047,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": [ @@ -2096,8 +2093,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": [ @@ -2118,8 +2114,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": [ @@ -2172,8 +2167,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": [ diff --git a/packages/samples/test/output/azure/resource-manager/arm-scenarios/extension-resource/@azure-tools/typespec-autorest/2021-10-01-preview/openapi.json b/packages/samples/test/output/azure/resource-manager/arm-scenarios/extension-resource/@azure-tools/typespec-autorest/2021-10-01-preview/openapi.json index ca7eb57abc..7363d209d2 100644 --- a/packages/samples/test/output/azure/resource-manager/arm-scenarios/extension-resource/@azure-tools/typespec-autorest/2021-10-01-preview/openapi.json +++ b/packages/samples/test/output/azure/resource-manager/arm-scenarios/extension-resource/@azure-tools/typespec-autorest/2021-10-01-preview/openapi.json @@ -425,8 +425,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": [ diff --git a/packages/samples/test/output/azure/resource-manager/arm-scenarios/location-resource/@azure-tools/typespec-autorest/2021-10-01-preview/openapi.json b/packages/samples/test/output/azure/resource-manager/arm-scenarios/location-resource/@azure-tools/typespec-autorest/2021-10-01-preview/openapi.json index 81ec330a46..9ba865da69 100644 --- a/packages/samples/test/output/azure/resource-manager/arm-scenarios/location-resource/@azure-tools/typespec-autorest/2021-10-01-preview/openapi.json +++ b/packages/samples/test/output/azure/resource-manager/arm-scenarios/location-resource/@azure-tools/typespec-autorest/2021-10-01-preview/openapi.json @@ -460,8 +460,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": [ diff --git a/packages/samples/test/output/azure/resource-manager/arm-scenarios/nobody-action/@azure-tools/typespec-autorest/2021-10-01-preview/openapi.json b/packages/samples/test/output/azure/resource-manager/arm-scenarios/nobody-action/@azure-tools/typespec-autorest/2021-10-01-preview/openapi.json index a4ab9e6e92..02761e4a5f 100644 --- a/packages/samples/test/output/azure/resource-manager/arm-scenarios/nobody-action/@azure-tools/typespec-autorest/2021-10-01-preview/openapi.json +++ b/packages/samples/test/output/azure/resource-manager/arm-scenarios/nobody-action/@azure-tools/typespec-autorest/2021-10-01-preview/openapi.json @@ -611,8 +611,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": [ diff --git a/packages/samples/test/output/azure/resource-manager/arm-scenarios/proxy/@azure-tools/typespec-autorest/2021-10-01-preview/openapi.json b/packages/samples/test/output/azure/resource-manager/arm-scenarios/proxy/@azure-tools/typespec-autorest/2021-10-01-preview/openapi.json index cc5bcf49d0..6e1ea97772 100644 --- a/packages/samples/test/output/azure/resource-manager/arm-scenarios/proxy/@azure-tools/typespec-autorest/2021-10-01-preview/openapi.json +++ b/packages/samples/test/output/azure/resource-manager/arm-scenarios/proxy/@azure-tools/typespec-autorest/2021-10-01-preview/openapi.json @@ -750,8 +750,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": [ @@ -836,8 +835,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": [ diff --git a/packages/samples/test/output/azure/resource-manager/arm-scenarios/singleton/@azure-tools/typespec-autorest/2021-10-01-preview/openapi.json b/packages/samples/test/output/azure/resource-manager/arm-scenarios/singleton/@azure-tools/typespec-autorest/2021-10-01-preview/openapi.json index dc15398047..5d08d8cfbe 100644 --- a/packages/samples/test/output/azure/resource-manager/arm-scenarios/singleton/@azure-tools/typespec-autorest/2021-10-01-preview/openapi.json +++ b/packages/samples/test/output/azure/resource-manager/arm-scenarios/singleton/@azure-tools/typespec-autorest/2021-10-01-preview/openapi.json @@ -359,8 +359,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": [ diff --git a/packages/samples/test/output/azure/resource-manager/arm-scenarios/tenant/@azure-tools/typespec-autorest/2021-10-01-preview/openapi.json b/packages/samples/test/output/azure/resource-manager/arm-scenarios/tenant/@azure-tools/typespec-autorest/2021-10-01-preview/openapi.json index a842029d0b..f2866ccaf4 100644 --- a/packages/samples/test/output/azure/resource-manager/arm-scenarios/tenant/@azure-tools/typespec-autorest/2021-10-01-preview/openapi.json +++ b/packages/samples/test/output/azure/resource-manager/arm-scenarios/tenant/@azure-tools/typespec-autorest/2021-10-01-preview/openapi.json @@ -397,8 +397,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": [ diff --git a/packages/samples/test/output/azure/resource-manager/arm-scenarios/tracked/@azure-tools/typespec-autorest/2021-10-01-preview/openapi.json b/packages/samples/test/output/azure/resource-manager/arm-scenarios/tracked/@azure-tools/typespec-autorest/2021-10-01-preview/openapi.json index c66e03928b..c95ab8ca0b 100644 --- a/packages/samples/test/output/azure/resource-manager/arm-scenarios/tracked/@azure-tools/typespec-autorest/2021-10-01-preview/openapi.json +++ b/packages/samples/test/output/azure/resource-manager/arm-scenarios/tracked/@azure-tools/typespec-autorest/2021-10-01-preview/openapi.json @@ -473,8 +473,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": [ diff --git a/packages/samples/test/output/azure/resource-manager/arm-scenarios/virtual-resource/@azure-tools/typespec-autorest/2021-10-01-preview/openapi.json b/packages/samples/test/output/azure/resource-manager/arm-scenarios/virtual-resource/@azure-tools/typespec-autorest/2021-10-01-preview/openapi.json index 719558b0d4..cd1a7f2354 100644 --- a/packages/samples/test/output/azure/resource-manager/arm-scenarios/virtual-resource/@azure-tools/typespec-autorest/2021-10-01-preview/openapi.json +++ b/packages/samples/test/output/azure/resource-manager/arm-scenarios/virtual-resource/@azure-tools/typespec-autorest/2021-10-01-preview/openapi.json @@ -565,8 +565,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": [ diff --git a/packages/samples/test/output/azure/resource-manager/codesigning/@azure-tools/typespec-autorest/openapi.json b/packages/samples/test/output/azure/resource-manager/codesigning/@azure-tools/typespec-autorest/openapi.json index f7401cff3d..55baeb1572 100644 --- a/packages/samples/test/output/azure/resource-manager/codesigning/@azure-tools/typespec-autorest/openapi.json +++ b/packages/samples/test/output/azure/resource-manager/codesigning/@azure-tools/typespec-autorest/openapi.json @@ -591,8 +591,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": [ @@ -736,8 +735,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": [ diff --git a/packages/samples/test/output/azure/resource-manager/contoso/@azure-tools/typespec-autorest/openapi.json b/packages/samples/test/output/azure/resource-manager/contoso/@azure-tools/typespec-autorest/openapi.json index 4c23b612cd..1de0f19b88 100644 --- a/packages/samples/test/output/azure/resource-manager/contoso/@azure-tools/typespec-autorest/openapi.json +++ b/packages/samples/test/output/azure/resource-manager/contoso/@azure-tools/typespec-autorest/openapi.json @@ -400,8 +400,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": [ diff --git a/packages/samples/test/output/azure/resource-manager/csharpattributetest/@azure-tools/typespec-autorest/openapi.json b/packages/samples/test/output/azure/resource-manager/csharpattributetest/@azure-tools/typespec-autorest/openapi.json index ead904b37e..f8e6cf458f 100644 --- a/packages/samples/test/output/azure/resource-manager/csharpattributetest/@azure-tools/typespec-autorest/openapi.json +++ b/packages/samples/test/output/azure/resource-manager/csharpattributetest/@azure-tools/typespec-autorest/openapi.json @@ -420,8 +420,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": [ diff --git a/packages/samples/test/output/azure/resource-manager/customer-managed-keys/@azure-tools/typespec-autorest/openapi.json b/packages/samples/test/output/azure/resource-manager/customer-managed-keys/@azure-tools/typespec-autorest/openapi.json index 39271ca1fc..fa3b31a0df 100644 --- a/packages/samples/test/output/azure/resource-manager/customer-managed-keys/@azure-tools/typespec-autorest/openapi.json +++ b/packages/samples/test/output/azure/resource-manager/customer-managed-keys/@azure-tools/typespec-autorest/openapi.json @@ -393,8 +393,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": [ diff --git a/packages/samples/test/output/azure/resource-manager/discriminatortest/@azure-tools/typespec-autorest/openapi.json b/packages/samples/test/output/azure/resource-manager/discriminatortest/@azure-tools/typespec-autorest/openapi.json index b66833f9bd..3bca3326fc 100644 --- a/packages/samples/test/output/azure/resource-manager/discriminatortest/@azure-tools/typespec-autorest/openapi.json +++ b/packages/samples/test/output/azure/resource-manager/discriminatortest/@azure-tools/typespec-autorest/openapi.json @@ -497,8 +497,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": [ diff --git a/packages/samples/test/output/azure/resource-manager/dynatrace/@azure-tools/typespec-autorest/2021-06-13-preview/openapi.json b/packages/samples/test/output/azure/resource-manager/dynatrace/@azure-tools/typespec-autorest/2021-06-13-preview/openapi.json index 5d43f17dfd..852fc855f1 100644 --- a/packages/samples/test/output/azure/resource-manager/dynatrace/@azure-tools/typespec-autorest/2021-06-13-preview/openapi.json +++ b/packages/samples/test/output/azure/resource-manager/dynatrace/@azure-tools/typespec-autorest/2021-06-13-preview/openapi.json @@ -1279,8 +1279,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": [ @@ -1487,8 +1486,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": [ @@ -1574,8 +1572,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": [ @@ -1931,8 +1928,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": [ @@ -2069,8 +2065,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": [ diff --git a/packages/samples/test/output/azure/resource-manager/dynatrace/@azure-tools/typespec-autorest/2022-04-30-preview/openapi.json b/packages/samples/test/output/azure/resource-manager/dynatrace/@azure-tools/typespec-autorest/2022-04-30-preview/openapi.json index 8281ce3f09..3d2ce7cd6d 100644 --- a/packages/samples/test/output/azure/resource-manager/dynatrace/@azure-tools/typespec-autorest/2022-04-30-preview/openapi.json +++ b/packages/samples/test/output/azure/resource-manager/dynatrace/@azure-tools/typespec-autorest/2022-04-30-preview/openapi.json @@ -1286,8 +1286,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": [ @@ -1494,8 +1493,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": [ @@ -1589,8 +1587,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": [ @@ -1946,8 +1943,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": [ @@ -2084,8 +2080,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": [ diff --git a/packages/samples/test/output/azure/resource-manager/envelopetest/@azure-tools/typespec-autorest/openapi.json b/packages/samples/test/output/azure/resource-manager/envelopetest/@azure-tools/typespec-autorest/openapi.json index b8506e2c5b..f8689459d2 100644 --- a/packages/samples/test/output/azure/resource-manager/envelopetest/@azure-tools/typespec-autorest/openapi.json +++ b/packages/samples/test/output/azure/resource-manager/envelopetest/@azure-tools/typespec-autorest/openapi.json @@ -728,8 +728,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": [ @@ -872,8 +871,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": [ diff --git a/packages/samples/test/output/azure/resource-manager/liftr.confluent/@azure-tools/typespec-autorest/openapi.json b/packages/samples/test/output/azure/resource-manager/liftr.confluent/@azure-tools/typespec-autorest/openapi.json index 8be2e5eca8..f7650b1bfa 100644 --- a/packages/samples/test/output/azure/resource-manager/liftr.confluent/@azure-tools/typespec-autorest/openapi.json +++ b/packages/samples/test/output/azure/resource-manager/liftr.confluent/@azure-tools/typespec-autorest/openapi.json @@ -503,8 +503,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": [ @@ -703,8 +702,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": [ diff --git a/packages/samples/test/output/azure/resource-manager/liftr.frs/@azure-tools/typespec-autorest/openapi.json b/packages/samples/test/output/azure/resource-manager/liftr.frs/@azure-tools/typespec-autorest/openapi.json index 425a6cbb08..4581e8ea6e 100644 --- a/packages/samples/test/output/azure/resource-manager/liftr.frs/@azure-tools/typespec-autorest/openapi.json +++ b/packages/samples/test/output/azure/resource-manager/liftr.frs/@azure-tools/typespec-autorest/openapi.json @@ -524,8 +524,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": [ diff --git a/packages/samples/test/output/azure/resource-manager/liftr.playfab/@azure-tools/typespec-autorest/openapi.json b/packages/samples/test/output/azure/resource-manager/liftr.playfab/@azure-tools/typespec-autorest/openapi.json index aa27c9f54d..812d90b344 100644 --- a/packages/samples/test/output/azure/resource-manager/liftr.playfab/@azure-tools/typespec-autorest/openapi.json +++ b/packages/samples/test/output/azure/resource-manager/liftr.playfab/@azure-tools/typespec-autorest/openapi.json @@ -711,8 +711,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": [ @@ -825,8 +824,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": [ diff --git a/packages/samples/test/output/azure/resource-manager/logz/@azure-tools/typespec-autorest/openapi.json b/packages/samples/test/output/azure/resource-manager/logz/@azure-tools/typespec-autorest/openapi.json index 7a2cd0aef3..1b09663510 100644 --- a/packages/samples/test/output/azure/resource-manager/logz/@azure-tools/typespec-autorest/openapi.json +++ b/packages/samples/test/output/azure/resource-manager/logz/@azure-tools/typespec-autorest/openapi.json @@ -1557,8 +1557,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": [ @@ -1816,8 +1815,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": [ @@ -2013,8 +2011,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": [ @@ -2134,8 +2131,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": [ @@ -2176,8 +2172,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": [ @@ -2253,8 +2248,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": [ diff --git a/packages/samples/test/output/azure/resource-manager/operationsTest/@azure-tools/typespec-autorest/openapi.json b/packages/samples/test/output/azure/resource-manager/operationsTest/@azure-tools/typespec-autorest/openapi.json index 70cfc8dfb2..34f459bcbc 100644 --- a/packages/samples/test/output/azure/resource-manager/operationsTest/@azure-tools/typespec-autorest/openapi.json +++ b/packages/samples/test/output/azure/resource-manager/operationsTest/@azure-tools/typespec-autorest/openapi.json @@ -3837,8 +3837,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": [ @@ -3987,8 +3986,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": [ @@ -4197,8 +4195,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": [ @@ -4239,8 +4236,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": [ @@ -4337,8 +4333,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": [ @@ -4384,8 +4379,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": [ @@ -4471,8 +4465,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": [ @@ -4514,8 +4507,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": [ @@ -4610,8 +4602,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": [ @@ -4653,8 +4644,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": [ @@ -4740,8 +4730,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": [ @@ -4782,8 +4771,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": [ @@ -4882,8 +4870,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": [ @@ -4936,8 +4923,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": [ diff --git a/packages/samples/test/output/azure/resource-manager/private-links/@azure-tools/typespec-autorest/2023-08-01-preview/openapi.json b/packages/samples/test/output/azure/resource-manager/private-links/@azure-tools/typespec-autorest/2023-08-01-preview/openapi.json index 0d68dd2161..4ba2dfc100 100644 --- a/packages/samples/test/output/azure/resource-manager/private-links/@azure-tools/typespec-autorest/2023-08-01-preview/openapi.json +++ b/packages/samples/test/output/azure/resource-manager/private-links/@azure-tools/typespec-autorest/2023-08-01-preview/openapi.json @@ -663,8 +663,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": [ @@ -705,8 +704,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": [ @@ -775,8 +773,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": [ diff --git a/packages/samples/test/output/azure/resource-manager/private-links/@azure-tools/typespec-autorest/2023-11-01-preview/openapi.json b/packages/samples/test/output/azure/resource-manager/private-links/@azure-tools/typespec-autorest/2023-11-01-preview/openapi.json index 00e4acdf5d..1ecd0d966d 100644 --- a/packages/samples/test/output/azure/resource-manager/private-links/@azure-tools/typespec-autorest/2023-11-01-preview/openapi.json +++ b/packages/samples/test/output/azure/resource-manager/private-links/@azure-tools/typespec-autorest/2023-11-01-preview/openapi.json @@ -663,8 +663,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": [ @@ -705,8 +704,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": [ @@ -775,8 +773,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": [ diff --git a/packages/samples/test/output/azure/resource-manager/servicelinker/@azure-tools/typespec-autorest/openapi.json b/packages/samples/test/output/azure/resource-manager/servicelinker/@azure-tools/typespec-autorest/openapi.json index 1414db822c..24b8577afd 100644 --- a/packages/samples/test/output/azure/resource-manager/servicelinker/@azure-tools/typespec-autorest/openapi.json +++ b/packages/samples/test/output/azure/resource-manager/servicelinker/@azure-tools/typespec-autorest/openapi.json @@ -534,8 +534,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": [ diff --git a/packages/samples/test/output/azure/resource-manager/tagsUpdateTest/@azure-tools/typespec-autorest/openapi.json b/packages/samples/test/output/azure/resource-manager/tagsUpdateTest/@azure-tools/typespec-autorest/openapi.json index ea0378d2db..acf80f58a3 100644 --- a/packages/samples/test/output/azure/resource-manager/tagsUpdateTest/@azure-tools/typespec-autorest/openapi.json +++ b/packages/samples/test/output/azure/resource-manager/tagsUpdateTest/@azure-tools/typespec-autorest/openapi.json @@ -1250,8 +1250,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": [ @@ -1303,8 +1302,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": [ @@ -1358,8 +1356,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": [ diff --git a/packages/samples/test/output/azure/resource-manager/tenantResource/@azure-tools/typespec-autorest/openapi.json b/packages/samples/test/output/azure/resource-manager/tenantResource/@azure-tools/typespec-autorest/openapi.json index 89d43e099e..910db282ef 100644 --- a/packages/samples/test/output/azure/resource-manager/tenantResource/@azure-tools/typespec-autorest/openapi.json +++ b/packages/samples/test/output/azure/resource-manager/tenantResource/@azure-tools/typespec-autorest/openapi.json @@ -1458,8 +1458,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": [ @@ -1547,8 +1546,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": [ @@ -1613,8 +1611,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": [ @@ -1735,8 +1732,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": [ @@ -1824,8 +1820,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": [ diff --git a/packages/typespec-azure-core/lib/foundations.tsp b/packages/typespec-azure-core/lib/foundations.tsp index 63dca33c0f..4d13061b41 100644 --- a/packages/typespec-azure-core/lib/foundations.tsp +++ b/packages/typespec-azure-core/lib/foundations.tsp @@ -250,7 +250,6 @@ model CustomPage< @doc("The link to the next page of items") @nextLink - @visibility("read") nextLink?: ResourceLocation; // Include custom response fields diff --git a/packages/typespec-azure-core/lib/models.tsp b/packages/typespec-azure-core/lib/models.tsp index f821cb50b9..c6dfc5aae2 100644 --- a/packages/typespec-azure-core/lib/models.tsp +++ b/packages/typespec-azure-core/lib/models.tsp @@ -21,7 +21,6 @@ model Page { @doc("The link to the next page of items") @nextLink - @visibility("read") nextLink?: ResourceLocation; }