Skip to content

Commit

Permalink
Merge pull request #20 from pcapanna/master
Browse files Browse the repository at this point in the history
Validates ApiRequestBodyTable when attribute body.content is not defined
  • Loading branch information
bourdakos1 authored Mar 23, 2021
2 parents b14fcf9 + 87b4073 commit 4cb6edb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ function RowsRoot({ schema }) {
}

function RequestBodyTable({ body, title }) {
if (body === undefined) {
if (body === undefined || body.content === undefined) {
return null;
}

Expand Down

0 comments on commit 4cb6edb

Please sign in to comment.