add trpc example to development build, ensure syntax highlighting works
Signed-off-by: Oleg S <97077423+RobotSail@users.noreply.github.com>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -33,7 +33,7 @@ export const TrpcApiDefinitionWidget: React.FC<TrpcApiDefinitionWidgetProps> = (
|
||||
<CodeSnippet
|
||||
customStyle={{ backgroundColor: theme.palette.background.default }}
|
||||
text={definition}
|
||||
language="ts"
|
||||
language="typescript"
|
||||
showCopyCodeButton
|
||||
/>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user