-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add REST API bindings for TS and Golang (#1907)
## Description: This PR add client bindings for both TS and Golang. It also re-organize the generated Go files into server and client directories. ## Is this change user facing? NO ## References (if applicable): - TS bindings are generated using: https://openapi-ts.pages.dev/
- Loading branch information
Showing
32 changed files
with
6,198 additions
and
1,294 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -273,16 +273,18 @@ yarn global add ts-protoc-gen | |
yarn global add grpc-tools | ||
``` | ||
|
||
#### OpenAPI generators for Go | ||
#### OpenAPI generators for Go and Typescript | ||
|
||
On MacOS: | ||
```bash | ||
go install github.com/deepmap/oapi-codegen/cmd/[email protected] | ||
go install github.com/deepmap/oapi-codegen/cmd/[email protected] | ||
yarn global add [email protected] | ||
``` | ||
|
||
On Ubuntu: | ||
```bash | ||
go install github.com/deepmap/oapi-codegen/cmd/[email protected] | ||
go install github.com/deepmap/oapi-codegen/cmd/[email protected] | ||
yarn global add [email protected] | ||
``` | ||
|
||
Build Instructions | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.