Skip to content

Commit

Permalink
fix(oas3): fix sample generation for RequestBody component
Browse files Browse the repository at this point in the history
Refs #8577
  • Loading branch information
char0n committed May 30, 2023
1 parent 861218a commit da1c771
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/plugins/oas3/components/request-body.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ const RequestBody = ({
}
if (type === "object" || useInitialValue) {
// TODO: what about example or examples from requestBody could be passed as exampleOverride
initialValue = getSampleSchema(prop, false, {
initialValue = fn.getSampleSchema(prop, false, {
includeWriteOnly: true
})
}
Expand Down

0 comments on commit da1c771

Please sign in to comment.