diff --git a/layouts/partials/openapi/render-object-table.html b/layouts/partials/openapi/render-object-table.html index 0f5841a4..0de9d2d1 100644 --- a/layouts/partials/openapi/render-object-table.html +++ b/layouts/partials/openapi/render-object-table.html @@ -53,13 +53,6 @@ {{ $type = delimit (slice "[" $inner_type "]") "" }} {{ end }} - {{/* - If the property is an enum, indicate this. - */}} - {{ if (and (eq $property.type "string") ($property.enum)) }} - {{ $type = "enum" }} - {{ end }} - {{/* Handle two ways of indicating "required", one for simple parameters, the other for request and response body objects. @@ -72,7 +65,7 @@
One of: [{{ delimit $property.enum ", " }}].
One of: [{{ delimit $property.enum ", " }}].