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; } ```