Skip to content
Snippets Groups Projects
Commit 3101f3ea authored by Aaron Clark's avatar Aaron Clark
Browse files

Newline after property name and before list of features of that property

parent 81b275c2
Branches
Tags
No related merge requests found
......@@ -13,6 +13,8 @@
`<%=name %>`
* is <% if (required) { %>**required**<% } else { %>optional<% } %>
* type: <%=schema.simpletype %><% if (schema.simpletype.match(/\[\]\[\]/)||schema.simpletype==="`array[]`") { %> (nested array)<% } %><% if (schema.type==='array') { %>
<% if (schema.maxItems!==undefined&&schema.minItems!==undefined) { %>* between `<%=schema.minItems %>` and `<%=schema.maxItems %>` items in the array<% }
......
......@@ -16,6 +16,8 @@ Applies to all properties that match the regular expression `<%=name %>`
<% } %>
`<%=name %>`
* is a property pattern
* type: <%=schema.simpletype %><% if (schema.simpletype.match(/\[\]\[\]/)||schema.simpletype==="`array[]`") { %> (nested array)<% } %><% if (schema.type==='array') { %>
<% if (schema.maxItems!==undefined&&schema.minItems!==undefined) { %>* between `<%=schema.minItems %>` and `<%=schema.maxItems %>` items in the array<% }
......
......@@ -13,6 +13,8 @@
<% } %>
`<%=name %>`
* is <% if (required) { %>**required**<% } else { %>optional<% } %>
* type: <%=schema.simpletype %><% if (schema.simpletype.match(/\[\]\[\]/)||schema.simpletype==="`array[]`") { %> (nested array)<% } %><% if (schema.type==='array') { %>
<% if (schema.maxItems!==undefined&&schema.minItems!==undefined) { %>* between `<%=schema.minItems %>` and `<%=schema.maxItems %>` items in the array<% }
......
......@@ -6,6 +6,8 @@
*/ %>
`string`
<%
if (schema.format==="uri") { %>* format: `uri` – Uniformous Resource Identifier (according to [RFC3986](http://tools.ietf.org/html/rfc3986))<% }
else if (schema.format==="date-time") { %>* format: `date-time` – date and time (according to [RFC 3339, section 5.6](http://tools.ietf.org/html/rfc3339))<% }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment