Loading...
x
{{#each nav}}
{{#if title}}
{{#if isHeader}}
{{#if isFixed}}
{{underscoreToSpace title}}
{{else}}
{{underscoreToSpace title}}
{{/if}}
{{else}}
{{title}}
{{/if}}
{{/if}}
{{/each}}
{{name}}
{{#if description}}
{{{nl2br description}}}
{{/if}}
{{#if template.withCompare}}
{{version}}
- {{__ "Compare all with predecessor"}}
- {{__ "show up to version:"}}
{{#each versions}}
{{this}}
{{/each}}
{{/if}}
{{#if content}}
{{{content}}}
{{/if}}
{{#if content}}
{{{content}}}
{{/if}}
{{#if template.withGenerator}}
{{#if generator}}
{{__ "Generated with"}} {{{generator.name}}} {{{generator.version}}} - {{{generator.time}}}
{{/if}}
{{/if}}
{{underscoreToSpace title}}
{{#if description}}
{{{nl2br description}}}
{{/if}}
{{#each articles}}
{{{article}}}
{{/each}}
{{article.groupTitle}}{{#if article.title}} - {{article.title}}{{/if}}
{{#if template.withCompare}}
{{article.version}}
- {{__ "compare changes to:"}}
{{#each versions}}
{{this}}
{{/each}}
{{/if}}
{{#if article.deprecated}}
{{__ "DEPRECATED"}}
{{{markdown article.deprecated.content}}}
{{/if}}
{{#if article.description}}
{{{nl2br article.description}}}
{{/if}}
{{toLowerCase article.type}}
{{#if article.permission}}
{{__ "Permission:"}}
{{#each article.permission}}
{{name}}
{{#if title}}
{{/if}}
{{/each}}
{{/if}}
{{#if_gt article.examples.length compare=0}}
{{#each article.examples}}
{{title}}
{{/each}}
{{#each article.examples}}
{{content}}
{{/each}}
{{/if_gt}}
{{subTemplate "article-param-block" params=article.header _hasType=_hasTypeInHeaderFields section="header"}}
{{subTemplate "article-param-block" params=article.parameter _hasType=_hasTypeInParameterFields section="parameter"}}
{{subTemplate "article-param-block" params=article.success _hasType=_hasTypeInSuccessFields section="success"}}
{{subTemplate "article-param-block" params=article.error _col1="Name" _hasType=_hasTypeInErrorFields section="error"}}
{{subTemplate "article-sample-request" article=article id=id}}
{{#if params}}
{{#each params.fields}}
{{__ @key}}
{{#if ../_col1}}{{__ ../_col1}}{{else}}{{__ "Field"}}{{/if}}
{{#if ../_hasType}}
{{__ "Type"}}{{/if}}{{__ "Description"}}
{{#each this}}
{{{splitFill field "." " "}}}{{#if optional}} {{__ "optional"}}{{/if}}
{{#if ../../_hasType}}
{{{type}}}
{{/if}}
{{{nl2br description}}}
{{#if defaultValue}}
{{__ "Default value:"}}
{{{defaultValue}}}
{{/if}}
{{#if size}}
{{__ "Size range:"}}
{{{size}}}
{{/if}}
{{#if allowedValues}}
{{__ "Allowed values:"}}
{{#each allowedValues}}
{{{this}}}
{{#unless @last}}, {{/unless}}
{{/each}}
{{/if}}
{{/each}}
{{/each}}
{{#if_gt params.examples.length compare=0}}
{{#each params.examples}}
{{title}}
{{/each}}
{{#each params.examples}}
{{reformat content type}}
{{/each}}
{{/if_gt}}
{{/if}}
{{#if article.sampleRequest}}
{{__ "Send a Sample Request"}}
{{__ "url"}}
{{#if article.header}}
{{#if article.header.fields}}
{{__ "Headers"}}
{{#each article.header.fields}}
{{@key}}
{{#each this}}
{{field}}
{{{type}}}
{{/each}}
{{/each}}
{{/if}}
{{/if}}
{{#if article.parameter}}
{{#if article.parameter.fields}}
{{__ "Parameters"}}
{{#each article.parameter.fields}}
{{@key}}
{{#each this}}
{{field}}
{{{type}}}
{{/each}}
{{/each}}
{{/if}}
{{/if}}
{{__ "Send"}}
{{__ "Response"}}
X
{{/if}}
{{underscoreToSpace article.group}} - {{{showDiff article.title compare.title}}}
{{article.version}} {{__ "compared to"}}
{{compare.version}}
- {{__ "compare changes to:"}}
- {{#each versions}}
- {{this}}
{{/each}}
{{#if article.description}}
{{{showDiff article.description compare.description "nl2br"}}}
{{else}}
{{#if compare.description}}
{{{showDiff "" compare.description "nl2br"}}}
{{/if}}
{{/if}}
{{subTemplate "article-compare-permission" article=article compare=compare}}
{{#each_compare_title article.examples compare.examples}}
{{#if typeSame}}
{{{showDiff source.title compare.title}}}
{{/if}}
{{#if typeIns}}
{{{source.title}}}
{{/if}}
{{#if typeDel}}
{{{compare.title}}}
{{/if}}
{{/each_compare_title}}
{{#each_compare_title article.examples compare.examples}}
{{#if typeSame}}
{{{showDiff source.content compare.content}}}
{{/if}}
{{#if typeIns}}
{{{source.content}}}
{{/if}}
{{#if typeDel}}
{{{compare.content}}}
{{/if}}
{{/each_compare_title}}
{{subTemplate "article-compare-param-block" source=article.parameter compare=compare.parameter _hasType=_hasTypeInParameterFields section="parameter"}}
{{subTemplate "article-compare-param-block" source=article.success compare=compare.success _hasType=_hasTypeInSuccessFields section="success"}}
{{subTemplate "article-compare-param-block" source=article.error compare=compare.error _col1="Name" _hasType=_hasTypeInErrorFields section="error"}}
{{subTemplate "article-sample-request" article=article id=id}}
{{__ "Permission:"}}
{{#each_compare_list_field article.permission compare.permission field="name"}}
{{#if source}}
{{#if typeSame}}
{{source.name}}
{{#if source.title}}
{{#unless _last}}, {{/unless}}
{{/if}}
{{/if}}
{{#if typeIns}}
{{source.name}}
{{#if source.title}}
{{#unless _last}}, {{/unless}}
{{/if}}
{{/if}}
{{#if typeDel}}
{{source.name}}
{{#if source.title}}
{{#unless _last}}, {{/unless}}
{{/if}}
{{/if}}
{{else}}
{{#if typeSame}}
{{compare.name}}
{{#if compare.title}}
{{#unless _last}}, {{/unless}}
{{/if}}
{{/if}}
{{#if typeIns}}
{{compare.name}}
{{#if compare.title}}
{{#unless _last}}, {{/unless}}
{{/if}}
{{/if}}
{{#if typeDel}}
{{compare.name}}
{{#if compare.title}}
{{#unless _last}}, {{/unless}}
{{/if}}
{{/if}}
{{/if}}
{{/each_compare_list_field}}
{{#if source}}
{{#each_compare_keys source.fields compare.fields}}
{{#if typeSame}}
{{__ source.key}}
{{#if ../_col1}}{{__ ../_col1}}{{else}}{{__ "Field"}}{{/if}}
{{#if ../_hasType}}
{{__ "Type"}}{{/if}}{{__ "Description"}}
{{subTemplate "article-compare-param-block-body" source=source.value compare=compare.value _hasType=../_hasType}}
{{/if}}
{{#if typeIns}}
{{__ source.key}}
{{#if ../_col1}}{{__ ../_col1}}{{else}}{{__ "Field"}}{{/if}}
{{#if ../_hasType}}
{{__ "Type"}}{{/if}}{{__ "Description"}}
{{subTemplate "article-compare-param-block-body" source=source.value compare=source.value _hasType=../_hasType}}
{{/if}}
{{#if typeDel}}
{{__ compare.key}}
{{#if ../_col1}}{{__ ../_col1}}{{else}}{{__ "Field"}}{{/if}}
{{#if ../_hasType}}
{{__ "Type"}}{{/if}}{{__ "Description"}}
{{subTemplate "article-compare-param-block-body" source=compare.value compare=compare.value _hasType=../_hasType}}
{{/if}}
{{/each_compare_keys}}
{{#if source.examples}}
{{#each_compare_title source.examples compare.examples}}
{{#if typeSame}}
{{{showDiff source.title compare.title}}}
{{/if}}
{{#if typeIns}}
{{{source.title}}}
{{/if}}
{{#if typeDel}}
{{{compare.title}}}
{{/if}}
{{/each_compare_title}}
{{#each_compare_title source.examples compare.examples}}
{{#if typeSame}}
{{{showDiff source.content compare.content}}}
{{/if}}
{{#if typeIns}}
{{{source.content}}}
{{/if}}
{{#if typeDel}}
{{{compare.content}}}
{{/if}}
{{/each_compare_title}}
{{/if}}
{{/if}}
{{#each_compare_field source compare}}
{{#if typeSame}}
{{{splitFill source.field "." " "}}}
{{#if source.optional}}
{{#if compare.optional}} {{__ "optional"}}
{{else}} {{__ "optional"}}
{{/if}}
{{else}}
{{#if compare.optional}} {{__ "optional"}}{{/if}}
{{/if}}
{{#if source.type}}
{{#if compare.type}}
{{{showDiff source.type compare.type}}}
{{else}}
{{{source.type}}}
{{/if}}
{{else}}
{{#if compare.type}}
{{{compare.type}}}
{{else}}
{{#if ../../../../_hasType}}
{{/if}}
{{/if}}
{{/if}}
{{{showDiff source.description compare.description "nl2br"}}}
{{#if source.defaultValue}}
{{__ "Default value:"}}
{{{showDiff source.defaultValue compare.defaultValue}}}
{{/if}}
{{/if}}
{{#if typeIns}}
{{{splitFill source.field "." " "}}}
{{#if source.optional}} {{__ "optional"}}{{/if}}
{{#if source.type}}
{{{source.type}}}
{{else}}
{{{typRowTd}}}
{{/if}}
{{{nl2br source.description}}}
{{#if source.defaultValue}}
{{__ "Default value:"}}
{{{source.defaultValue}}}
{{/if}}
{{/if}}
{{#if typeDel}}
{{{splitFill compare.field "." " "}}}
{{#if compare.optional}} {{__ "optional"}}{{/if}}
{{#if compare.type}}
{{{compare.type}}}
{{else}}
{{{typRowTd}}}
{{/if}}
{{{nl2br compare.description}}}
{{#if compare.defaultValue}}
{{__ "Default value:"}}
{{{compare.defaultValue}}}
{{/if}}
{{/if}}
{{/each_compare_field}}
Loading...
一鍵複制
編輯
Web IDE
原始資料
按行檢視
曆史