aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorXe Iaso <me@xeiaso.net>2024-09-24 04:55:27 -0700
committerXe Iaso <me@xeiaso.net>2024-09-24 04:55:27 -0700
commitac0bc4af9d87152c0e2fca5e22a0d5df9296de17 (patch)
treefd3dc86ecaea5cadbcf006cfd63b21117e052c6d /cmd
parentfcc5945946586beb26ba0860e3b2c3fc7cf487e8 (diff)
downloadxesite-ac0bc4af9d87152c0e2fca5e22a0d5df9296de17.tar.xz
xesite-ac0bc4af9d87152c0e2fca5e22a0d5df9296de17.zip
fix dependencies
Signed-off-by: Xe Iaso <me@xeiaso.net>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/fabricate-generation/main.go2
-rw-r--r--cmd/twirp-openapi-gen/internal/generator/testdata/doc.json10
2 files changed, 10 insertions, 2 deletions
diff --git a/cmd/fabricate-generation/main.go b/cmd/fabricate-generation/main.go
index 949b411..c77591d 100644
--- a/cmd/fabricate-generation/main.go
+++ b/cmd/fabricate-generation/main.go
@@ -14,8 +14,8 @@ import (
"path/filepath"
"strings"
+ "github.com/aws/aws-sdk-go-v2/aws"
"github.com/aws/aws-sdk-go-v2/service/s3"
- "github.com/aws/aws-sdk-go/aws"
"github.com/facebookgo/flagenv"
_ "github.com/joho/godotenv/autoload"
"golang.org/x/oauth2"
diff --git a/cmd/twirp-openapi-gen/internal/generator/testdata/doc.json b/cmd/twirp-openapi-gen/internal/generator/testdata/doc.json
index afe6c6d..8f6df0f 100644
--- a/cmd/twirp-openapi-gen/internal/generator/testdata/doc.json
+++ b/cmd/twirp-openapi-gen/internal/generator/testdata/doc.json
@@ -10,6 +10,10 @@
},
"type": "object"
},
+ "google.protobuf.Empty": {
+ "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance:",
+ "type": "object"
+ },
"google.protobuf.ListValue": {
"description": "\nListValue is a wrapper around a repeated field of values.\nThe JSON representation for ListValue is JSON array.\n",
"items": {
@@ -294,7 +298,11 @@
"responses": {
"200": {
"content": {
- "application/json": {}
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/google.protobuf.Empty"
+ }
+ }
},
"description": "Success"
}