From 47d3c824ae6ac431a081464e5c2d21f5063bfccd Mon Sep 17 00:00:00 2001 From: Nick Guerrera Date: Fri, 14 Apr 2023 12:52:29 -0500 Subject: [PATCH 1/2] Fix `url` doc to not mention "URI" Also point to root of WHATWG doc, not the relative string sub-portion. --- packages/compiler/lib/lib.tsp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/compiler/lib/lib.tsp b/packages/compiler/lib/lib.tsp index 7e0f28cd6fb..75d4520d0a2 100644 --- a/packages/compiler/lib/lib.tsp +++ b/packages/compiler/lib/lib.tsp @@ -128,7 +128,7 @@ model Array {} model Record {} /** - * Represent a URI string as described by https://url.spec.whatwg.org/#relative-url-string. + * Represent a URL string as described by https://url.spec.whatwg.org/ */ @format("url") scalar url extends string; From e2a9ee70b0842c2eaf1fed29558b07c20a3cabc5 Mon Sep 17 00:00:00 2001 From: Nick Guerrera Date: Fri, 14 Apr 2023 12:53:31 -0500 Subject: [PATCH 2/2] Changelog --- .../compiler/fix-url-doc_2023-04-14-17-53.json | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 common/changes/@typespec/compiler/fix-url-doc_2023-04-14-17-53.json diff --git a/common/changes/@typespec/compiler/fix-url-doc_2023-04-14-17-53.json b/common/changes/@typespec/compiler/fix-url-doc_2023-04-14-17-53.json new file mode 100644 index 00000000000..e4ee72e1e5a --- /dev/null +++ b/common/changes/@typespec/compiler/fix-url-doc_2023-04-14-17-53.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@typespec/compiler", + "comment": "Fix `url` doc to not mention \"URI\"", + "type": "none" + } + ], + "packageName": "@typespec/compiler" +} \ No newline at end of file