added title to examples
This commit is contained in:
parent
59e1df9efa
commit
2f0c7d6a3f
1 changed files with 1 additions and 0 deletions
|
@ -52,6 +52,7 @@ def get_api(obj):
|
|||
'arguments': arguments,
|
||||
'returns': returns.strip(),
|
||||
'examples': [{
|
||||
'title': f"performing {name} operation",
|
||||
'curl': f"""curl -d'{{"method": "{name}"}}' http://localhost:5279/""",
|
||||
'lbrynet': f'lbrynet {name} --some-arg=foo',
|
||||
'python': f'requests.post("http://localhost:5279", json={{"method": "{name}"}}).json()',
|
||||
|
|
Loading…
Reference in a new issue