protoc-gen-openapiv2-0.0.1


توضیحات

Provides the missing pieces for gRPC Gateway.
ویژگی مقدار
سیستم عامل OS Independent
نام فایل protoc-gen-openapiv2-0.0.1
نام protoc-gen-openapiv2
نسخه کتابخانه 0.0.1
نگهدارنده []
ایمیل نگهدارنده []
نویسنده eapolinario
ایمیل نویسنده eapolinario@union.ai
آدرس صفحه اصلی https://github.com/unionai-oss/protoc-gen-openapiv2
آدرس اینترنتی https://pypi.org/project/protoc-gen-openapiv2/
مجوز -
# gRPC Gateway Support This repo generates the missing Python code to support code generated using [gRPC Gateway](https://github.com/grpc-ecosystem/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 ```shell pip install protoc-gen-openapiv2 ``` ## Building 1. Install go 2. `./gen-openapi-protos.sh` will generate the code from grpc-gateway. 3. `python -m pip install --upgrade build && python -m build` to build the package. 4. *optional* - setup PyPi credentials and `python -m pip install --user --upgrade twine && python -m twine upload --repository pypi dist/*`


نیازمندی

مقدار نام
- googleapis-common-protos
>=4.21.0 protobuf


زبان مورد نیاز

مقدار نام
>=3.6 Python


نحوه نصب


نصب پکیج whl protoc-gen-openapiv2-0.0.1:

    pip install protoc-gen-openapiv2-0.0.1.whl


نصب پکیج tar.gz protoc-gen-openapiv2-0.0.1:

    pip install protoc-gen-openapiv2-0.0.1.tar.gz