Skip to main content

Provides the missing pieces for gRPC Gateway.

Project description

gRPC Gateway Support

This repo generates the missing Python code to support code generated using gRPC Gateway protoc annotations.

This package depends on googleapis-common-protos to provide google.api.annotations_pb2 and others that the generated code will depend on.

Usage

pip install grpc-gateway-protoc-gen-openapiv2

Building

  1. Install go
  2. ./gen-openapi-proto.sh will generate the code from grpc-gateway.
  3. python3 -m pip install --upgrade build && python3 -m build to build the package.
  4. optional - setup PyPi credentials and python3 -m pip install --user --upgrade twine && python3 -m twine upload --repository pypi dist/*

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Built Distribution

File details

Details for the file grpc-gateway-protoc-gen-openapiv2-0.1.0.tar.gz.

File metadata

  • Download URL: grpc-gateway-protoc-gen-openapiv2-0.1.0.tar.gz
  • Upload date:
  • Size: 11.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for grpc-gateway-protoc-gen-openapiv2-0.1.0.tar.gz
Algorithm Hash digest
SHA256 03b8934080ae81f709af041e4f89694db586a95ff35abba05d033d499811d4f6
MD5 0d86cb31415dd523bd9a6914aa427b16
BLAKE2b-256 4ac20eb08365c8e8e84be7d257bf83490630ed323e916b7651dfb81418057b1a

See more details on using hashes here.

File details

Details for the file grpc_gateway_protoc_gen_openapiv2-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: grpc_gateway_protoc_gen_openapiv2-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 12.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for grpc_gateway_protoc_gen_openapiv2-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 45ba00a6e9df13d35fe46d4149c62361a63c27e61fb08faa192aea0f4fbed609
MD5 1af3a9a5cc1dc2c8c076d32c187c02cb
BLAKE2b-256 42676c5980c485afd0d1a37a07b423dc58326302a005cbaa1926cef03e202316

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page