gotsrpc/gotsrpc.example.yaml
Kevin Franklin Kim b41cebcea3
feat: add schema
2025-09-18 23:20:12 +02:00

19 lines
420 B
YAML

# yaml-language-server: $schema=gotsrpc.schema.json
module:
name: github.com/foomo/gotsrpc/v2
path: ./
targets:
basic:
services:
/service: Service
package: github.com/foomo/gotsrpc/v2/example/basic/service
out: ./client/src/service-client.ts
gorpc:
- Service
tsrpc:
- Service
mappings:
github.com/foomo/gotsrpc/v2/example/basic/service:
out: ./client/src/service-vo.ts