diff --git a/src/components/Operation/Operation.tsx b/src/components/Operation/Operation.tsx index 53bc53df..57776cf0 100644 --- a/src/components/Operation/Operation.tsx +++ b/src/components/Operation/Operation.tsx @@ -42,7 +42,7 @@ export class Operation extends React.Component { return ( - {options => ( + {(options) => (

@@ -50,7 +50,9 @@ export class Operation extends React.Component { {summary} {deprecated && Deprecated } {isWebhook && Webhook }

- {options.pathInMiddlePanel && } + {options.pathInMiddlePanel && !isWebhook && ( + + )} {hasDescription && ( {description !== undefined && }