mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-16 21:14:36 +00:00
Generate typesafe typescript and go clients, examples (#194)
This commit is contained in:
17
cmd/clients/README.md
Normal file
17
cmd/clients/README.md
Normal file
@@ -0,0 +1,17 @@
|
||||
# Client and example generation
|
||||
|
||||
To run the code generation, from the repo root issue:
|
||||
|
||||
|
||||
```sh
|
||||
go install ./cmd/clients; clients .
|
||||
```
|
||||
|
||||
The generated clients will end up in `./clients`.
|
||||
|
||||
Take inspiration from the `.github/workflows/publish.yml` to see how to publish the NPM package.
|
||||
|
||||
|
||||
# Typescript gotchas
|
||||
|
||||
There is some funkiness going on with the package names in the generator -
|
||||
Reference in New Issue
Block a user