- Dec 07, 2018
-
-
Johan Brandhorst authored
-
Johan Brandhorst authored
-
Johan Brandhorst authored
-
- Dec 06, 2018
-
-
Kelly Campbell authored
This allows other projects to generate proto code for other languages, e.g. py_proto_library
-
- Nov 19, 2018
-
-
Roman Azami authored
* Updated Patch behavior * Patch update with regenerated BUILD files * Added documentation for PATCH usage * Added some curl examples for PATCH
-
Mayank authored
* Added support for more WKT * Lint fix: added comments on exported functions * Lint fix: added comments on exported functions * Added end to end example to show support of StringValue in url option template * updated more example protos; removed server and proxy for now * Updated convert.go to fix float and other wkt * brazel build fix
-
- Nov 17, 2018
-
-
micnncim authored
-
- Nov 16, 2018
-
-
Johan Brandhorst authored
* Revert "Adding support for more well known types in descriptor (#809)" This reverts commit 16598315.
-
- Nov 15, 2018
-
-
Johan Brandhorst authored
Fixes #808
-
- Nov 14, 2018
-
-
Mayank authored
-
Rodrigo Queiro authored
* Make Bazel CI failures clearer - don't try to run tests if the BUILD files are out-of-date - run buildifier even if the tests fail, as it may still be useful - use a parameter to hold Bazel config to simplify config.yml - ignore the vendor/ directory when running Gazelle (otherwise it will fail if you've used `dep` to create vendor/) * Add Bazel invocation to CONTRIBUTING.md
-
- Nov 13, 2018
-
-
Rodrigo Queiro authored
* Update rules_go and gazelle This requires/allows the following changes: - rerun Gazelle to regenerate the build files - fix marshal_jsonpb_test to assert correct behavior when EnumsAsInts == false - remove `repositories.bzl` (replaced by @go_googleapis) Also, enforce up-to-date build files in the CI check. Note: this version of the commit includes an out-of-date BUILD file to test the CI check. * Update Gopkg.toml and Gopkg.lock * Update generated proto code The generated code changed with the updated dependencies. * Fix node_test Enum values inside maps are now supported.
-
ch3rub1m authored
-
- Nov 08, 2018
-
-
Rodrigo Queiro authored
buildifier autoformats the files to give a consistent style. This makes edits easier for contributors that have their editor set to autoformat-on-save. buildifier has been added to the Bazel workspace so that the same version can be used by contributors and CI. You can run `bazel run :buildifier_check` to check for necessary changes and `bazel run :buildifier` to apply them. `bazel test //...` also builds all targets. These changes should make the CI steps run a little faster.
-
- Nov 07, 2018
-
-
Andrew Z Allen authored
-
Rodrigo Queiro authored
This uses the new go_repository and http_archive rules. Using the former avoids a warning: DEPRECATED: the rules_go version of go_repository is deprecated. Migrate to the new version in @bazel_gazelle//def.bzl instead. The latter will avoid breakage when the native http_archive rule is disabled by default in a future version of Bazel.
-
- Nov 06, 2018
-
-
Ivan Vučica authored
-
- Nov 05, 2018
-
-
Stefan Sauer authored
-
Stefan Sauer authored
This information is used by the default html doc generator and so it is nice to be able to provide it. Add the message to openapiv2.proto and extend template.go to handle it. Tested via: bazel build //examples/proto/examplepb:expamplepb_protoc_gen_swagger more bazel-bin/examples/proto/examplepb/a_bit_of_everything.swagger.json
-
- Nov 03, 2018
-
-
Wesley Spikes authored
http.CloseNotifier is deprecated as of Go 1.11, with a note that "the CloseNotifier interface predates Go's context package. New code should use Request.Context instead." Seeing as Request.Context has been around since 1.7, it seems likely safe to adjust our template to omit this block whenever Request.Context is in use.
-
- Oct 30, 2018
-
-
Johan Brandhorst authored
This will trigger a build of a linux, darwin and windows build of protoc-gen-grpc-gateway and protoc-gen-swagger on every new tag matching the semver regex.
-
Ricardo Vegas authored
-
- Oct 19, 2018
-
-
Joel Urraco authored
-
- Oct 17, 2018
-
-
Stephan Renatus authored
Signed-off-by:
Stephan Renatus <srenatus@chef.io>
-
- Oct 16, 2018
-
-
Johan Brandhorst authored
* Fix CircleCI configuration The original configuration had never actually been run on CircleCI's servers. * Replace mentions of Travis with CircleCI
-
- Oct 10, 2018
-
-
Johan Brandhorst authored
-
Johan Brandhorst authored
-
- Oct 02, 2018
-
-
John Children authored
This commit adds a default value to the description field of 200 responses. This is needed to meet the swagger specification requirement of a short description for all response objects.
-
Johan Brandhorst authored
-
- Oct 01, 2018
-
-
Johan Brandhorst authored
The solution for #224 turned out to break backwards compatibility, so we're going to have to find another solution for users who desire this behaviour. Also adds test cases from #760.
-
- Sep 24, 2018
-
-
Hong Zhang authored
Point users to the proto definition instead of Service Management API documentation. Latter is generated from former, and is more likely to be out of date. Rephrase "custom options" to "google.api.http" annotation to be more straight forward.
-
- Sep 10, 2018
-
-
Sri Krishna Paritala authored
-
- Sep 09, 2018
-
-
Johan Brandhorst authored
-
Johan Brandhorst authored
-
- Sep 01, 2018
-
-
Marcus Rosén authored
Added conversion functions for repeated path params Updated bytes converter to support URL encoded base64 strings Added support for repeated primitive path params in protoc-gen-grpc-gateway Added support for repeated primitive path params in protoc-gen-swagger Added --repeated_path_param_separator cmd line param to support setting separator to `csv`, `ssv`, `pipes` and `tsv` Re-generated examples Added ABitOfEverythingRepeated to validate repeated path parameter functionality Added GetRepeatedQuery rpc endpoint Updated browser tests to test GetRepeatedQuery rpc endpoint Updated integration tests to test GetRepeatedQuery rpc endpoint Added GetRepeatedQuery to ABitOfEverythingServer implementation Added missing reflect.DeepEqual test Change separator type from string to rune Fixed slice duplication in string slice conversion method Reverted --allowRepeatedFieldsInBody in swagger generator Changed TODO of bytes slice proto2 function Corrected if-statement releated to repeated fields in resolveFieldPath function Rebase
-
Johan Brandhorst authored
This was failing in CI, hopefully this fixes it.
-
- Aug 29, 2018
-
-
Sergey Shepelev authored
-
Marcus Rosén authored
Related to https://github.com/grpc-ecosystem/grpc-gateway/issues/322 Updated protoc-gen-swagger to output enum path parameters correctly Updated protoc-gen-grpc-gateway to handle enum path parameters Regenerated examples Added pathenum proto for an externally imported enum example and verification Added enum_helper.go to handle the lack of enum support in the swagger-codegen-cli 2.2.2 for Go, see https://github.com/swagger-api/swagger-codegen/pull/5635 Fixed browser integration test cases Updated bazel config Fixed last, faulty bazel config Updated integration test case to test both index == 0 and index > 0 for enums
-
Timon Wong authored
Fixes #218
-
- Aug 17, 2018
-
-
Dmitry Doroginin authored
Also: * add flag `allow_repeated_fields_in_body` in `protoc-gen-grpc-gateway` * add flag `json_names_for_fields` in `protoc-gen-swagger`
-