Skip to content

Commit

Permalink
fix: writeOnly params displaying in webhook (#1866)
Browse files Browse the repository at this point in the history
  • Loading branch information
Oprysk committed Jan 20, 2022
1 parent 95a7347 commit 5694913
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/components/Parameters/Parameters.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,12 @@ export function BodyContent(props: {
return (
<>
{description !== undefined && <Markdown source={description} />}
<Schema skipReadOnly={isRequestType} key="schema" schema={schema} />
<Schema
skipReadOnly={isRequestType}
skipWriteOnly={!isRequestType}
key="schema"
schema={schema}
/>
</>
);
}}
Expand Down

0 comments on commit 5694913

Please sign in to comment.