@@ -16,12 +17,12 @@
<% if ( schema && !(schemaName.indexOf('x-parser-')> -1 || schemaName.indexOf('x-schema-private-') > -1) ) {
const [renderedName, schemaType, description, values, constraints, notes] = schemaPropRow(schema, schemaName, 'root'); %>
- <%- (renderedName || '-') %> |
- <%- (schemaType || '-') %> |
- <%- (md.render(description) || '-') %> |
- <%- (values || '-') %> |
- <%- (constraints || '-') %> |
- <%- (notes || '-') %> |
+ <%- (renderedName || '-') %> |
+ <%- (schemaType || '-') %> |
+ <%- (md.render(description) || '-') %> |
+ <%- (values || '-') %> |
+ <%- (constraints || '-') %> |
+ <%- (notes || '-') %> |
<% const dependentSchemas = schemaHelper.getDependentSchemas(schema);
const extensions = schemaHelper.getCustomExtensions(schema);
@@ -34,12 +35,12 @@
<% if ( property && !(propertyName.indexOf('x-parser-')> -1 || propertyName.indexOf('x-schema-private-') > -1) ) {
const [renderedName, schemaType, description, values, constraints, notes] = schemaPropRow(property, propertyName, required.includes(propertyName), schemaHelper.getDependentRequired(propertyName,schema), buildPath((path || schemaName), propertyName)); %>
- <%- (renderedName || '-') %> |
- <%- (schemaType || '-') %> |
- <%- (md.render(description) || '-') %> |
- <%- (values || '-') %> |
- <%- (constraints || '-') %> |
- <%- (notes || '-') %> |
+ <%- (renderedName || '-') %> |
+ <%- (schemaType || '-') %> |
+ <%- (md.render(description) || '-') %> |
+ <%- (values || '-') %> |
+ <%- (constraints || '-') %> |
+ <%- (notes || '-') %> |
<% } %>
<% } %>
@@ -47,11 +48,11 @@
<% if ( property && !(propertyName.indexOf('x-parser-')> -1 || propertyName.indexOf('x-schema-private-') > -1) ) {
const [renderedName, schemaType, description, values, constraints, notes] = schemaPropRow(property, propertyName, false, [], buildPath((path || schemaName), propertyName), 'pattern property'); %>
- <%- (renderedName || '-') %> |
- <%- (schemaType || '-') %> |
- <%- (md.render(description) || '-') %> |
- <%- (values || '-') %> |
- <%- (constraints || '-') %> |
+ <%- (renderedName || '-') %> |
+ <%- (schemaType || '-') %> |
+ <%- (md.render(description) || '-') %> |
+ <%- (values || '-') %> |
+ <%- (constraints || '-') %> |
<%- (notes || '-') %> |
<% } %>
@@ -70,12 +71,12 @@
<% if ( property && !(propertyName.indexOf('x-parser-')> -1 || propertyName.indexOf('x-schema-private-') > -1) ) {
const [renderedName, schemaType, description, values, constraints, notes] = schemaPropRow(property, propertyName, required.includes(propertyName), schemaHelper.getDependentRequired(propertyName,items), buildPath((path || ""), propertyName)); %>
- <%- (renderedName || '-') %> |
- <%- (schemaType || '-') %> |
- <%- (md.render(description) || '-') %> |
- <%- (values || '-') %> |
- <%- (constraints || '-') %> |
- <%- (notes || '-') %> |
+ <%- (renderedName || '-') %> |
+ <%- (schemaType || '-') %> |
+ <%- (md.render(description) || '-') %> |
+ <%- (values || '-') %> |
+ <%- (constraints || '-') %> |
+ <%- (notes || '-') %> |
<% } %>
<% } %>
@@ -83,12 +84,12 @@
<% if ( property && !(propertyName.indexOf('x-parser-')> -1 || propertyName.indexOf('x-schema-private-') > -1) ) {
const [renderedName, schemaType, description, values, constraints, notes] = schemaPropRow(property, propertyName, false, [], path, 'Single Item'); %>
- <%- (renderedName || '-') %> |
- <%- (schemaType || '-') %> |
- <%- (md.render(description) || '-') %> |
- <%- (values || '-') %> |
- <%- (constraints || '-') %> |
- <%- (notes || '-') %> |
+ <%- (renderedName || '-') %> |
+ <%- (schemaType || '-') %> |
+ <%- (md.render(description) || '-') %> |
+ <%- (values || '-') %> |
+ <%- (constraints || '-') %> |
+ <%- (notes || '-') %> |
<% } %>
<% } %>
@@ -99,12 +100,12 @@
if ( item ) {
const [renderedName, schemaType, description, values, constraints, notes] = schemaPropRow(item, "", false, [], buildPath(path || "", idx), 'index'); %>
- <%- (renderedName || '-') %> |
- <%- (schemaType || '-') %> |
- <%- (md.render(description) || '-') %> |
- <%- (values || '-') %> |
- <%- (constraints || '-') %> |
- <%- (notes || '-') %> |
+ <%- (renderedName || '-') %> |
+ <%- (schemaType || '-') %> |
+ <%- (md.render(description) || '-') %> |
+ <%- (values || '-') %> |
+ <%- (constraints || '-') %> |
+ <%- (notes || '-') %> |
<% } %>
<% }) %>
@@ -113,12 +114,12 @@
<% if ( items ) {
const [renderedName, schemaType, description, values, constraints, notes] = schemaPropRow(items, "", false, [], path, 'Single Item'); %>
- <%- (renderedName || '-') %> |
- <%- (schemaType || '-') %> |
- <%- (md.render(description) || '-') %> |
- <%- (values || '-') %> |
- <%- (constraints || '-') %> |
- <%- (notes || '-') %> |
+ <%- (renderedName || '-') %> |
+ <%- (schemaType || '-') %> |
+ <%- (md.render(description) || '-') %> |
+ <%- (values || '-') %> |
+ <%- (constraints || '-') %> |
+ <%- (notes || '-') %> |
<% } %>
<% } %>
@@ -130,12 +131,12 @@
if ( s && !(idx.indexOf('x-parser-')> -1 || idx.indexOf('x-schema-private-') > -1) ) {
const [renderedName, schemaType, description, values, constraints, notes] = schemaPropRow(s, idx, false, [], buildPath(path || schemaName, idx), 'oneOf item'); %>
- <%- (renderedName || '-') %> |
- <%- (schemaType || '-') %> |
- <%- (md.render(description) || '-') %> |
- <%- (values || '-') %> |
- <%- (constraints || '-') %> |
- <%- (notes || '-') %> |
+ <%- (renderedName || '-') %> |
+ <%- (schemaType || '-') %> |
+ <%- (md.render(description) || '-') %> |
+ <%- (values || '-') %> |
+ <%- (constraints || '-') %> |
+ <%- (notes || '-') %> |
<% } %>
<% }) %>
@@ -143,12 +144,12 @@
if ( s && !(idx.indexOf('x-parser-')> -1 || idx.indexOf('x-schema-private-') > -1) ) {
const [renderedName, schemaType, description, values, constraints, notes] = schemaPropRow(s, idx, false, [], buildPath(path || schemaName, idx), 'anyOf item'); %>
- <%- (renderedName || '-') %> |
- <%- (schemaType || '-') %> |
- <%- (md.render(description) || '-') %> |
- <%- (values || '-') %> |
- <%- (constraints || '-') %> |
- <%- (notes || '-') %> |
+ <%- (renderedName || '-') %> |
+ <%- (schemaType || '-') %> |
+ <%- (md.render(description) || '-') %> |
+ <%- (values || '-') %> |
+ <%- (constraints || '-') %> |
+ <%- (notes || '-') %> |
<% } %>
<% }) %>
@@ -156,101 +157,101 @@
if ( s && !(idx.indexOf('x-parser-')> -1 || idx.indexOf('x-schema-private-') > -1) ) {
const [renderedName, schemaType, description, values, constraints, notes] = schemaPropRow(s, idx, false, [], buildPath(path || schemaName, idx), 'allOf item'); %>
- <%- (renderedName || '-') %> |
- <%- (schemaType || '-') %> |
- <%- (md.render(description) || '-') %> |
- <%- (values || '-') %> |
- <%- (constraints || '-') %> |
- <%- (notes || '-') %> |
+ <%- (renderedName || '-') %> |
+ <%- (schemaType || '-') %> |
+ <%- (md.render(description) || '-') %> |
+ <%- (values || '-') %> |
+ <%- (constraints || '-') %> |
+ <%- (notes || '-') %> |
<% } %>
<% }) %>
<% if ( schema.not() ) {
const [renderedName, schemaType, description, values, constraints, notes] = schemaPropRow(schema.not(), "", false, [], path,'not', false); %>
- <%- (renderedName || '-') %> |
- <%- (schemaType || '-') %> |
- <%- (md.render(description) || '-') %> |
- <%- (values || '-') %> |
- <%- (constraints || '-') %> |
- <%- (notes || '-') %> |
+ <%- (renderedName || '-') %> |
+ <%- (schemaType || '-') %> |
+ <%- (md.render(description) || '-') %> |
+ <%- (values || '-') %> |
+ <%- (constraints || '-') %> |
+ <%- (notes || '-') %> |
<% } %>
<% if ( schema.propertyNames() ) {
const [renderedName, schemaType, description, values, constraints, notes] = schemaPropRow(schema.propertyNames(), "", false, [], path,'property names', false); %>
- <%- (renderedName || '-') %> |
- <%- (schemaType || '-') %> |
- <%- (md.render(description) || '-') %> |
- <%- (values || '-') %> |
- <%- (constraints || '-') %> |
- <%- (notes || '-') %> |
+ <%- (renderedName || '-') %> |
+ <%- (schemaType || '-') %> |
+ <%- (md.render(description) || '-') %> |
+ <%- (values || '-') %> |
+ <%- (constraints || '-') %> |
+ <%- (notes || '-') %> |
<% } %>
<% if ( schema.contains() ) {
const [renderedName, schemaType, description, values, constraints, notes] = schemaPropRow(schema.contains(), "", false, [], path,'contains', false); %>
- <%- (renderedName || '-') %> |
- <%- (schemaType || '-') %> |
- <%- (md.render(description) || '-') %> |
- <%- (values || '-') %> |
- <%- (constraints || '-') %> |
- <%- (notes || '-') %> |
+ <%- (renderedName || '-') %> |
+ <%- (schemaType || '-') %> |
+ <%- (md.render(description) || '-') %> |
+ <%- (values || '-') %> |
+ <%- (constraints || '-') %> |
+ <%- (notes || '-') %> |
<% } %>
<% if ( schema.if() ) {
const [renderedName, schemaType, description, values, constraints, notes] = schemaPropRow(schema.if(), "", false, [], path,'if', false); %>
- <%- (renderedName || '-') %> |
- <%- (schemaType || '-') %> |
- <%- (md.render(description) || '-') %> |
- <%- (values || '-') %> |
- <%- (constraints || '-') %> |
- <%- (notes || '-') %> |
+ <%- (renderedName || '-') %> |
+ <%- (schemaType || '-') %> |
+ <%- (md.render(description) || '-') %> |
+ <%- (values || '-') %> |
+ <%- (constraints || '-') %> |
+ <%- (notes || '-') %> |
<% } %>
<% if ( schema.then() ) {
const [renderedName, schemaType, description, values, constraints, notes] = schemaPropRow(schema.then(), "", false, [], path,'then', false); %>
- <%- (renderedName || '-') %> |
- <%- (schemaType || '-') %> |
- <%- (md.render(description) || '-') %> |
- <%- (values || '-') %> |
- <%- (constraints || '-') %> |
- <%- (notes || '-') %> |
+ <%- (renderedName || '-') %> |
+ <%- (schemaType || '-') %> |
+ <%- (md.render(description) || '-') %> |
+ <%- (values || '-') %> |
+ <%- (constraints || '-') %> |
+ <%- (notes || '-') %> |
<% } %>
<% if ( schema.else() ) {
const [renderedName, schemaType, description, values, constraints, notes] = schemaPropRow(schema.else(), "", false, [], path,'else', false); %>
- <%- (renderedName || '-') %> |
- <%- (schemaType || '-') %> |
- <%- (md.render(description) || '-') %> |
- <%- (values || '-') %> |
- <%- (constraints || '-') %> |
- <%- (notes || '-') %> |
+ <%- (renderedName || '-') %> |
+ <%- (schemaType || '-') %> |
+ <%- (md.render(description) || '-') %> |
+ <%- (values || '-') %> |
+ <%- (constraints || '-') %> |
+ <%- (notes || '-') %> |
<% } %>
<% if ( dependentSchemas ) {
const [renderedName, schemaType, description, values, constraints, notes] = schemaPropRow(dependentSchemas, "", false, [], path,'dependant schemas'); %>
- <%- (renderedName || '-') %> |
- <%- (schemaType || '-') %> |
- <%- (md.render(description) || '-') %> |
- <%- (values || '-') %> |
- <%- (constraints || '-') %> |
- <%- (notes || '-') %> |
+ <%- (renderedName || '-') %> |
+ <%- (schemaType || '-') %> |
+ <%- (md.render(description) || '-') %> |
+ <%- (values || '-') %> |
+ <%- (constraints || '-') %> |
+ <%- (notes || '-') %> |
<% } %>
<% if ( extensionsSchema ) {
const [renderedName, schemaType, description, values, constraints, notes] = schemaPropRow(extensionsSchema, "", false, [], path); %>
- <%- (renderedName || '-') %> |
- <%- (schemaType || '-') %> |
- <%- (md.render(description) || '-') %> |
- <%- (values || '-') %> |
- <%- (constraints || '-') %> |
- <%- (notes || '-') %> |
+ <%- (renderedName || '-') %> |
+ <%- (schemaType || '-') %> |
+ <%- (md.render(description) || '-') %> |
+ <%- (values || '-') %> |
+ <%- (constraints || '-') %> |
+ <%- (notes || '-') %> |
<% } %>
<% const ext = schema.extensions();
@@ -263,12 +264,12 @@
if ( additionalProperties ) {
const [renderedName, schemaType, description, values, constraints, notes] = schemaPropRow(additionalProperties, "", false, [], path,'additional properties', false); %>
- <%- (renderedName || '-') %> |
- <%- (schemaType || '-') %> |
- <%- (md.render(description) || '-') %> |
- <%- (values || '-') %> |
- <%- (constraints || '-') %> |
- <%- (notes || '-') %> |
+ <%- (renderedName || '-') %> |
+ <%- (schemaType || '-') %> |
+ <%- (md.render(description) || '-') %> |
+ <%- (values || '-') %> |
+ <%- (constraints || '-') %> |
+ <%- (notes || '-') %> |
<% } %>
<% } %>
@@ -284,12 +285,12 @@
if ( additionalItems ) {
const [renderedName, schemaType, description, values, constraints, notes] = schemaPropRow(additionalItems, "", false, [], path,'additional items', false); %>
- <%- (renderedName || '-') %> |
- <%- (schemaType || '-') %> |
- <%- (md.render(description) || '-') %> |
- <%- (values || '-') %> |
- <%- (constraints || '-') %> |
- <%- (notes || '-') %> |
+ <%- (renderedName || '-') %> |
+ <%- (schemaType || '-') %> |
+ <%- (md.render(description) || '-') %> |
+ <%- (values || '-') %> |
+ <%- (constraints || '-') %> |
+ <%- (notes || '-') %> |
<% } %>
<% } %>
@@ -300,7 +301,7 @@
<% } %>