Skip to content

Commit

Permalink
Merge pull request #1653 from mdyd-dev/api-liquid-mark-standard-globa…
Browse files Browse the repository at this point in the history
…l-objects

Api liquid: mark standard global objects
  • Loading branch information
Slashek committed Sep 13, 2023
2 parents 65bc516 + 5499798 commit 13ec581
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
File renamed without changes.
12 changes: 6 additions & 6 deletions app/views/partials/api/liquid/object.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"parents": [
{% if data.parent %}
{
"object": {{data.parent | json}},
"property": {{item.name | json}}
"object": {{ data.parent | json }},
"property": {{ item.name | json }}
}
{% endif %}
],
Expand All @@ -31,23 +31,23 @@
],
"return_type": [
{
"type": "{{property.type}}",
"type": "{{ property.type }}",
"name": "",
"description": "",
"array_value": ""
}
],
"summary": "todo property summary",
"name": "{{property.name}}"
"name": "{{ property.name }}"
}{% unless forloop.last %},{% endunless %}
{% endfor %}
],
"summary": "todo summary",
"name": "{{item.name}}",
"name": "{{ item.name }}",
"examples": [],
"json_data": {
"path": "",
"handle": "{{parent_handle}}{{item.name}}",
"handle": "{{ parent_handle }}{{ item.name }}",
"data_from_file": ""
},
"return_type": []
Expand Down
2 changes: 1 addition & 1 deletion app/views/partials/api/liquid/standard_objects.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[
{
"access": {
"global": false,
"global": true,
"parents": [
{
"object": "forloop",
Expand Down

0 comments on commit 13ec581

Please sign in to comment.