Fix missing components.schema for webhooks (#13433)

Webhooks are still documented in core playground to detail Webhooks of
core objects.
We moved webhooks to metadata playground and forgot to keep computation
of WebhookForResponse

This PR adds it back
This commit is contained in:
martmull
2025-07-25 16:36:11 +02:00
committed by GitHub
parent d1b11bafe6
commit 9380a1386a
3 changed files with 53 additions and 25 deletions

View File

@ -81,6 +81,7 @@ export const RestPlayground = ({ onError, schema }: RestPlaygroundProps) => {
forceDarkModeState: theme.name === 'dark' ? 'dark' : 'light',
hideClientButton: true,
hideDarkModeToggle: true,
hideModels: schema === 'metadata',
pathRouting: {
basePath: getSettingsPath(SettingsPath.RestPlayground, {
schema,