mirror of
https://github.com/Redocly/redoc.git
synced 2025-01-31 10:04:08 +03:00
fix: writeOnly params displaying in webhook (#1866)
This commit is contained in:
parent
95a7347931
commit
5694913e71
|
@ -79,7 +79,12 @@ export function BodyContent(props: {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
{description !== undefined && <Markdown source={description} />}
|
{description !== undefined && <Markdown source={description} />}
|
||||||
<Schema skipReadOnly={isRequestType} key="schema" schema={schema} />
|
<Schema
|
||||||
|
skipReadOnly={isRequestType}
|
||||||
|
skipWriteOnly={!isRequestType}
|
||||||
|
key="schema"
|
||||||
|
schema={schema}
|
||||||
|
/>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}}
|
}}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user