diff --git a/layouts/partials/openapi/render-object-table.html b/layouts/partials/openapi/render-object-table.html index bae7a3d9..08dd5790 100644 --- a/layouts/partials/openapi/render-object-table.html +++ b/layouts/partials/openapi/render-object-table.html @@ -313,7 +313,7 @@ resolve-additional-types.) Prepend "Required:" to make it part of the first paragraph of the description. */}} - {{- $description = printf "Required: %s" $description -}} + {{- $description = printf "Required: %s" (default "" $description) -}} {{ end -}} {{/* Force the rendering as a block so the description is always inside a