protoc-gen-twirp_swagger
protoc-gen-twirp_swagger copied to clipboard
Swagger generator for twirp
``` gen "github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/generator" ``` The package doesn't exist anymore.
Changes required to implement the new protocol: * Error code `resource_exhausted` should map to 429 (instead of 403). * Allow any arbitrary URL prefixes instead of forcing the "/twirp". See...
Bumps [junit](https://github.com/junit-team/junit4) from 4.12 to 4.13.1. Release notes Sourced from junit's releases. JUnit 4.13.1 Please refer to the release notes for details. JUnit 4.13 Please refer to the release notes...
When running the generate clients, I notice the following in the javascript log output. ```console [main] ERROR io.swagger.codegen.DefaultCodegen - String to be sanitized is null. Default to ERROR_UNKNOWN ``` There...
Hi. I can set description for the method by adding gap in its comment like this: ```protobuf // Foo is foo. // // This is description rpc Foo (FooRequest) returns...
There is an underlying module that is used by protoc-gen that has been adjusted and many previously exposed API's were moved behind closed doors. Here is my thread at the...
Using the swift4 codegen `google.protobuf.Timestamp updated_time = 4;` will incorrectly be interpreted as a date field. ``` returnedError(Swift.DecodingError.dataCorrupted(Swift.DecodingError.Context(codingPath: ["profiles", _JSONKey(stringValue: "Index 0", intValue: 0), "updated_time"], debugDescription: "Date string does not...
It seems that definitions of swagger.json for well known types are not necessary because well known types are already mapped to swagger's primitive types. Could you confirm this?
Not sure this is a limitation of Twirp or .proto(3), but how do you convey to consumers that an attribute is optional? For example what if I wanted to make...
if you split out your protobuf definition into multiple files, so something like: - messages.proto - services.proto then a json file will be generated per proto file. I don't really...