diff --git a/components/ApiReference/Response.tsx b/components/ApiReference/Response.tsx index 95f85166..0242d70d 100644 --- a/components/ApiReference/Response.tsx +++ b/components/ApiReference/Response.tsx @@ -29,10 +29,7 @@ const Response: React.FC<{ response: any; index: number }> = ({ ).map(([key, value]) => ({ name: key, value, - required: - content?.schema?.required?.includes( - key - ) + required: content?.schema?.required?.includes(key) })) return (