Update layouts/partials/openapi/render-object-table.html

This commit is contained in:
Richard van der Hoff 2024-10-29 15:20:49 +00:00 committed by GitHub
parent fbcdfd7d2e
commit e95360b06e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -310,7 +310,7 @@ resolve-additional-types.)
{{ $description := .property.description -}} {{ $description := .property.description -}}
{{ if .required -}} {{ if .required -}}
{{/* {{/*
Concatenate "Required:" to make it part of the first paragraph of the Prepend "Required:" to make it part of the first paragraph of the
description. description.
*/}} */}}
{{- $description = printf "<strong>Required: </strong>%s" $description -}} {{- $description = printf "<strong>Required: </strong>%s" $description -}}