Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: grpc-ecosystem/grpc-gateway
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: go-kratos/grpc-gateway
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Can’t automatically merge. Don’t worry, you can still create the pull request.
  • 5 commits
  • 383 files changed
  • 3 contributors

Commits on Aug 4, 2021

  1. add kratos openapiv2

    guoliangcao committed Aug 4, 2021
    Copy the full SHA
    bdc92eb View commit details

Commits on Aug 5, 2021

  1. feat: add option generator

    woorui committed Aug 5, 2021
    Copy the full SHA
    0684c53 View commit details
  2. refactor: use option init reg

    woorui committed Aug 5, 2021
    Copy the full SHA
    68d3c49 View commit details
  3. Revert "refactor: use option init reg"

    This reverts commit 68d3c49.
    woorui committed Aug 5, 2021
    Copy the full SHA
    b16279a View commit details

Commits on Aug 11, 2021

  1. Merge pull request #1 from woorui/feature-optional-generator

    feat: add option generator
    longXboy authored Aug 11, 2021

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    c92d36e View commit details
Showing 383 changed files with 270 additions and 80,822 deletions.
Binary file added .DS_Store
Binary file not shown.
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"go.inferGopath": false
}
2 changes: 1 addition & 1 deletion BUILD
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@ buildifier(
)

# gazelle:exclude _output
# gazelle:prefix github.com/grpc-ecosystem/grpc-gateway/v2
# gazelle:prefix github.com/go-kratos/grpc-gateway/v2
# gazelle:go_proto_compilers //:go_apiv2
# gazelle:go_grpc_compilers //:go_apiv2, //:go_grpc
# gazelle:go_naming_convention import_alias
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -68,8 +68,8 @@ to track the versions of the following executable packages:
package tools

import (
_ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway"
_ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2"
_ "github.com/go-kratos/grpc-gateway/v2/protoc-gen-grpc-gateway"
_ "github.com/go-kratos/grpc-gateway/v2/protoc-gen-openapiv2"
_ "google.golang.org/grpc/cmd/protoc-gen-go-grpc"
_ "google.golang.org/protobuf/cmd/protoc-gen-go"
)
@@ -79,8 +79,8 @@ Run `go mod tidy` to resolve the versions. Install by running

```sh
$ go install \
github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway \
github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2 \
github.com/go-kratos/grpc-gateway/v2/protoc-gen-grpc-gateway \
github.com/go-kratos/grpc-gateway/v2/protoc-gen-openapiv2 \
google.golang.org/protobuf/cmd/protoc-gen-go \
google.golang.org/grpc/cmd/protoc-gen-go-grpc
```
@@ -337,7 +337,7 @@ Make sure that your `$GOBIN` is in your `$PATH`.
"net/http"
"github.com/golang/glog"
"github.com/grpc-ecosystem/grpc-gateway/v2/runtime"
"github.com/go-kratos/grpc-gateway/v2/runtime"
"google.golang.org/grpc"
gw "github.com/yourorg/yourrepo/proto/gen/go/your/service/v1/your_service" // Update
8 changes: 4 additions & 4 deletions WORKSPACE
Original file line number Diff line number Diff line change
@@ -25,11 +25,11 @@ bazel_skylib_workspace()

http_archive(
name = "rules_proto",
sha256 = "36476f17a78a4c495b9a9e70bd92d182e6e78db476d90c74bac1f5f19f0d6d04",
strip_prefix = "rules_proto-fcad4680fee127dbd8344e6a961a28eef5820ef4",
sha256 = "bc12122a5ae4b517fa423ea03a8d82ea6352d5127ea48cb54bc324e8ab78493c",
strip_prefix = "rules_proto-af6481970a34554c6942d993e194a9aed7987780",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/rules_proto/archive/fcad4680fee127dbd8344e6a961a28eef5820ef4.tar.gz",
"https://github.com/bazelbuild/rules_proto/archive/fcad4680fee127dbd8344e6a961a28eef5820ef4.tar.gz",
"https://mirror.bazel.build/github.com/bazelbuild/rules_proto/archive/af6481970a34554c6942d993e194a9aed7987780.tar.gz",
"https://github.com/bazelbuild/rules_proto/archive/af6481970a34554c6942d993e194a9aed7987780.tar.gz",
],
)

4 changes: 0 additions & 4 deletions bin/.gitignore

This file was deleted.

6 changes: 0 additions & 6 deletions docs/.gitignore

This file was deleted.

11 changes: 0 additions & 11 deletions docs/Gemfile

This file was deleted.

277 changes: 0 additions & 277 deletions docs/Gemfile.lock

This file was deleted.

Loading