Skip to content

Commit

Permalink
use json instead of curl
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelfolaron committed Aug 30, 2024
1 parent a8593d8 commit ec8d1d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .phpdoc/template/api-md/class.api-md.twig
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ title: {{ node.FullyQualifiedStructuralElementName }}
{{ method.summary|raw }}

{# Method signature #}
```curl
```json
{
"method": "{{ macros.mdEndpointName(node.FullyQualifiedStructuralElementName, method.name) }}",
"jsonrpc": "2.0",
Expand Down
2 changes: 1 addition & 1 deletion .phpdoc/template/api-md/method.api-md.twig
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
{% if method.response.description %}
**Returns:**
{{ method.response.description|raw }}
```curl
```json
{
"jsonrpc": "2.0",
"id": 1,
Expand Down

0 comments on commit ec8d1d4

Please sign in to comment.