File: standalone_echo_service.yaml

package info (click to toggle)
golang-github-grpc-ecosystem-grpc-gateway 2.20.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 7,236 kB
  • sloc: javascript: 357; makefile: 147; sh: 26
file content (17 lines) | stat: -rw-r--r-- 721 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
type: google.api.Service
config_version: 3

http:
  rules:
    - selector: grpc.gateway.examples.internal.proto.examplepb.UnannotatedEchoService.Echo
      post: "/v2/example/echo/{id}"
      additional_bindings:
        - get: "/v2/example/echo/{id}/{num}"
        - get: "/v2/example/echo/{id}/{num}/{lang}"
        - get: "/v2/example/echo1/{id}/{line_num}/{status.note}"
        - get: "/v2/example/echo2/{no.note}"
    - selector: grpc.gateway.examples.internal.proto.examplepb.UnannotatedEchoService.EchoBody
      post: "/v2/example/echo_body"
      body: "*"
    - selector: grpc.gateway.examples.internal.proto.examplepb.UnannotatedEchoService.EchoDelete
      delete: "/v2/example/echo_delete"