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. It's also worth noting that the generated protobuf stubs are specific for
the new protobuf major version (as described in https://developers.google.com/protocol-buffers/docs/news/2022-05-06).
Usage
pip install protoc-gen-openapiv2
Building
- Install go
./gen-openapi-protos.shwill generate the code from grpc-gateway.python -m pip install --upgrade build && python -m buildto build the package.- optional - setup PyPi credentials and
python -m pip install --user --upgrade twine && python -m twine upload --repository pypi dist/*
Project details
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file protoc-gen-openapiv2-0.0.1.tar.gz.
File metadata
- Download URL: protoc-gen-openapiv2-0.0.1.tar.gz
- Upload date:
- Size: 7.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6f79188d842c13177c9c0558845442c340b43011bf67dfef1dfc3bc067506409
|
|
| MD5 |
aa45217a27010fa4ebdb99808edce8ac
|
|
| BLAKE2b-256 |
d8d284fecd8df61640226c726c12ad7ddd2a7666a7cd7f898b9a5b72e3a66d44
|
File details
Details for the file protoc_gen_openapiv2-0.0.1-py3-none-any.whl.
File metadata
- Download URL: protoc_gen_openapiv2-0.0.1-py3-none-any.whl
- Upload date:
- Size: 7.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
18090c8be3877c438e7da0f7eb7cace45a9a210306bca4707708dbad367857be
|
|
| MD5 |
055878f86d6bab3112ed77fede4ef4ee
|
|
| BLAKE2b-256 |
2dacbd8961859d8f3f81530465d2ce9b165627e961c00348939009bac2700cc6
|