forked from reddec/trusted-cgi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
jsonrpc2.yaml
23 lines (23 loc) · 819 Bytes
/
jsonrpc2.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
url: "https://127.0.0.1:3434/u/"
package: jsonrpc
custom_type_handler:
- '*github.com/reddec/trusted-cgi/api@Token'
file: ./../interfaces.go
wrapper: "Register{{.TypeName}}"
python: 'clients/python/{{.Generator.Name | replace "." "/" | snakecase }}.py'
js: 'clients/js/{{.Generator.Name | snakecase | replace "." "" }}.js'
ts: 'clients/ts/{{.Generator.Name | snakecase | replace "." "" }}.ts'
ts_shim_file: "tsshim.yaml"
doc: 'docs/api/{{.Generator.Name | snakecase | replace "." "" }}.md'
doc_shim_file: "docshim.yaml"
doc_header: |
---
layout: default
title: {{.Service.Name}}
parent: API
---
output: "./{{.Generator.TypeName | snakecase}}.go"
go: './../client/{{.Generator.Name | replace "." "" | snakecase}}_client.go'
go_package: "client"
go_default: "Default{{.Generator.TypeName}}"
go_linked: true