@apresai/gimage-mcp 1.2.64 → 1.2.65
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/README.md +12 -20
- package/bin/gimage +0 -0
- package/bin/gimage-deploy +0 -0
- package/package.json +1 -1
package/bin/README.md
CHANGED
|
@@ -573,18 +573,20 @@ Run `gimage [command] --help` for detailed usage of any command.
|
|
|
573
573
|
|
|
574
574
|
## Go SDK
|
|
575
575
|
|
|
576
|
-
A type-safe Go SDK
|
|
576
|
+
A type-safe Go SDK for programmatic API access.
|
|
577
|
+
|
|
578
|
+
**Repository**: [github.com/apresai/gimage-go-sdk](https://github.com/apresai/gimage-go-sdk)
|
|
577
579
|
|
|
578
580
|
### Installation
|
|
579
581
|
|
|
580
582
|
```bash
|
|
581
|
-
go get github.com/apresai/gimage
|
|
583
|
+
go get github.com/apresai/gimage-go-sdk@latest
|
|
582
584
|
```
|
|
583
585
|
|
|
584
|
-
###
|
|
586
|
+
### Quick Start
|
|
585
587
|
|
|
586
588
|
```go
|
|
587
|
-
import gimage "github.com/apresai/gimage
|
|
589
|
+
import gimage "github.com/apresai/gimage-go-sdk"
|
|
588
590
|
|
|
589
591
|
// Create client with API key authentication
|
|
590
592
|
client, _ := gimage.NewClient(
|
|
@@ -608,24 +610,14 @@ resp, _ := client.GenerateImage(ctx, gimage.GenerateImageJSONRequestBody{
|
|
|
608
610
|
- ✅ **Type-safe**: All types generated from OpenAPI spec
|
|
609
611
|
- ✅ **Auto-complete**: Full IDE support with godoc
|
|
610
612
|
- ✅ **API Gateway ready**: Built-in API key authentication support
|
|
611
|
-
- ✅ **
|
|
612
|
-
|
|
613
|
-
### Generating the SDK
|
|
614
|
-
|
|
615
|
-
The SDK is auto-generated from `openapi.yaml`:
|
|
616
|
-
|
|
617
|
-
```bash
|
|
618
|
-
# One-time: Install oapi-codegen
|
|
619
|
-
make install-sdk-tools
|
|
620
|
-
|
|
621
|
-
# Generate SDK
|
|
622
|
-
make generate-sdk
|
|
613
|
+
- ✅ **Standard Go modules**: Independent versioning with semantic versioning
|
|
623
614
|
|
|
624
|
-
|
|
625
|
-
make clean-sdk
|
|
626
|
-
```
|
|
615
|
+
### Documentation
|
|
627
616
|
|
|
628
|
-
|
|
617
|
+
Complete documentation, examples, and API reference:
|
|
618
|
+
- **SDK Repository**: [github.com/apresai/gimage-go-sdk](https://github.com/apresai/gimage-go-sdk)
|
|
619
|
+
- **GoDoc**: [pkg.go.dev/github.com/apresai/gimage-go-sdk](https://pkg.go.dev/github.com/apresai/gimage-go-sdk)
|
|
620
|
+
- **Examples**: See the SDK repository for working examples
|
|
629
621
|
|
|
630
622
|
---
|
|
631
623
|
|
package/bin/gimage
CHANGED
|
Binary file
|
|
Binary file
|