Skip to content

Commit 733987a

Browse files
committed
fix unknown type
1 parent 67521c1 commit 733987a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

codegen/layouts/api-endpoint.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ None
7979
8080
{% hint style="success" %}
8181
Returns:
82-
{{#if response.batchResourceTypes}}batch response{{#each response.batchResourceTypes}}
82+
{{#if response.batchResources}}batch response{{#each response.batchResources}}
8383
- `{{this.batchKey}}`: Array of [{{this.escapedResourceType}}s]({{#if this.responsePath}}{{this.responsePath}}{{else}}./{{/if}}){{/each}}{{else}}**{{#if response.resourceType}}{{#if (eq response.responseType "resource_list")}}Array of [{{response.escapedResourceType}}s]({{#if response.responsePath}}{{response.responsePath}}{{else}}./{{/if}}){{else}}[{{response.escapedResourceType}}]({{#if response.responsePath}}{{response.responsePath}}{{else}}./{{/if}}){{/if}}{{else}}void{{/if}}{{/if}}**
8484
8585
{% endhint %}

0 commit comments

Comments
 (0)