-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
79f098a
commit edef963
Showing
6 changed files
with
38 additions
and
30 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
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# How to add a new client or method | ||
https://github.com/xataio/xata-go/issues/33 |
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
This SDK is a wrapper around an auto generated Go code from the OpenAPI specs. | ||
[Fern](https://github.com/fern-api/fern) is used for code generation. | ||
|
||
The process is automated with the following Make targets: | ||
|
||
Download the latest API specs | ||
```shell | ||
make download-openapi-specs | ||
``` | ||
|
||
Generate code for CORE scope | ||
```shell | ||
make generate-core-cod | ||
``` | ||
|
||
Generate code for WORKSPACE scope | ||
```shell | ||
make generate-workspace-cod | ||
``` | ||
|
||
Code generation requires some updates in the API specs and auto-generated code for various reasons. | ||
For more information, see [this PR](https://github.com/xataio/xata-go/pull/26#issue-1989477775) and the issues it resolves. |
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.