From ecf61f1343783e5852c2adf2a110d6349dae99c4 Mon Sep 17 00:00:00 2001 From: Alitzel Mendez <6895254+AlitzelMendez@users.noreply.github.com> Date: Fri, 3 Jan 2025 13:17:00 -0800 Subject: [PATCH] Fix example of json-chema README.md (#5474) creating a new pull request for: https://github.com/microsoft/typespec/pull/5145/files so we have the ability to merge it and resolve conflicts with previous branch --- .chronus/changes/fix-json-example-2025-0-2-14-56-22.md | 7 +++++++ packages/json-schema/.tspd/docs/usage.md | 2 +- packages/json-schema/README.md | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 .chronus/changes/fix-json-example-2025-0-2-14-56-22.md diff --git a/.chronus/changes/fix-json-example-2025-0-2-14-56-22.md b/.chronus/changes/fix-json-example-2025-0-2-14-56-22.md new file mode 100644 index 0000000000..2343307dc5 --- /dev/null +++ b/.chronus/changes/fix-json-example-2025-0-2-14-56-22.md @@ -0,0 +1,7 @@ +--- +changeKind: internal +packages: + - "@typespec/json-schema" +--- + +Fix example of json-schema \ No newline at end of file diff --git a/packages/json-schema/.tspd/docs/usage.md b/packages/json-schema/.tspd/docs/usage.md index a7f745db43..4ab5eb752e 100644 --- a/packages/json-schema/.tspd/docs/usage.md +++ b/packages/json-schema/.tspd/docs/usage.md @@ -10,6 +10,6 @@ namespace Example; model Car { make: string; - model: string; + modelName: string; } ``` diff --git a/packages/json-schema/README.md b/packages/json-schema/README.md index 592b9c6735..0e7cb16c49 100644 --- a/packages/json-schema/README.md +++ b/packages/json-schema/README.md @@ -22,7 +22,7 @@ namespace Example; model Car { make: string; - model: string; + modelName: string; } ```