diff options
| author | Xe Iaso <me@xeiaso.net> | 2024-09-24 04:55:27 -0700 |
|---|---|---|
| committer | Xe Iaso <me@xeiaso.net> | 2024-09-24 04:55:27 -0700 |
| commit | ac0bc4af9d87152c0e2fca5e22a0d5df9296de17 (patch) | |
| tree | fd3dc86ecaea5cadbcf006cfd63b21117e052c6d /cmd/twirp-openapi-gen/internal/generator/testdata/doc.json | |
| parent | fcc5945946586beb26ba0860e3b2c3fc7cf487e8 (diff) | |
| download | xesite-ac0bc4af9d87152c0e2fca5e22a0d5df9296de17.tar.xz xesite-ac0bc4af9d87152c0e2fca5e22a0d5df9296de17.zip | |
fix dependencies
Signed-off-by: Xe Iaso <me@xeiaso.net>
Diffstat (limited to 'cmd/twirp-openapi-gen/internal/generator/testdata/doc.json')
| -rw-r--r-- | cmd/twirp-openapi-gen/internal/generator/testdata/doc.json | 10 |
1 files changed, 9 insertions, 1 deletions
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" } |
