From e4a78a13dac6dd32d27b9857c780fe524e03b795 Mon Sep 17 00:00:00 2001 From: Oleg S <97077423+RobotSail@users.noreply.github.com> Date: Wed, 1 Feb 2023 15:54:12 -0500 Subject: [PATCH] add trpc example to development build, ensure syntax highlighting works Signed-off-by: Oleg S <97077423+RobotSail@users.noreply.github.com> --- packages/catalog-model/examples/all-apis.yaml | 1 + .../components/TrpcDefinitionWidget/TrpcApiDefinitionWidget.tsx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/catalog-model/examples/all-apis.yaml b/packages/catalog-model/examples/all-apis.yaml index e23f1b3656..472897bfac 100644 --- a/packages/catalog-model/examples/all-apis.yaml +++ b/packages/catalog-model/examples/all-apis.yaml @@ -6,6 +6,7 @@ metadata: spec: targets: - ./apis/hello-world-api.yaml + - ./apis/hello-world-trpc-api.yaml - ./apis/petstore-api.yaml - ./apis/spotify-api.yaml - ./apis/streetlights-api.yaml diff --git a/plugins/api-docs/src/components/TrpcDefinitionWidget/TrpcApiDefinitionWidget.tsx b/plugins/api-docs/src/components/TrpcDefinitionWidget/TrpcApiDefinitionWidget.tsx index c4cf56bedb..81bec09769 100644 --- a/plugins/api-docs/src/components/TrpcDefinitionWidget/TrpcApiDefinitionWidget.tsx +++ b/plugins/api-docs/src/components/TrpcDefinitionWidget/TrpcApiDefinitionWidget.tsx @@ -33,7 +33,7 @@ export const TrpcApiDefinitionWidget: React.FC = ( );