docs: fix how api reference shows any type (#9340)

This commit is contained in:
Shahed Nasser
2024-10-02 10:27:21 +03:00
committed by GitHub
parent 1e144e9c08
commit 07afa8fba6

View File

@@ -62,7 +62,7 @@ const TagOperationParametersDescription = ({
default:
typeDescription = (
<>
{schema.type}
{!schema.type ? "any" : schema.type}
{schema.nullable ? ` or null` : ""}
{schema.format ? ` <${schema.format}>` : ""}
</>