diff --git a/src/core/utils.js b/src/core/utils.js index d3e6104e..ccc27c36 100644 --- a/src/core/utils.js +++ b/src/core/utils.js @@ -632,7 +632,7 @@ export const getSampleSchema = (schema, contentType="", config={}) => { let match = schema.$$ref.match(/\S*\/(\S+)$/) schema.xml.name = match[1] } else if (schema.type || schema.items || schema.properties || schema.additionalProperties) { - return "\n" + return "\n" } else { return null } @@ -842,4 +842,4 @@ export function paramToValue(param, paramValues) { .filter(value => value !== undefined) return values[0] -} \ No newline at end of file +}