mirror of
https://github.com/LukeHagar/website.git
synced 2025-12-10 12:57:49 +00:00
Add missing parenthesis to wrap array examples
This commit is contained in:
@@ -373,7 +373,7 @@ export const generateExample = (schema: OpenAPIV3.SchemaObject, api: OpenAPIV3.D
|
||||
|
||||
return {
|
||||
...carry,
|
||||
[property.name]: generateExample(schema, api)
|
||||
[property.name]: [generateExample(schema, api)]
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user