Registry /
http-networking / grpc-gateway-protoc-gen-openapiv2
Install & Compatibility
Where this runs
tested against v0.1.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslpy 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 21.1MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 2.0s · import 0.000s · 22MB
19MB installed
● package 19MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
protoc_gen_openapiv2
✓ import protoc_gen_openapiv2
✗ import grpc_gateway_protoc_gen_openapiv2.plugin
Basic import and placeholder usage of the plugin.
import os
from grpc_gateway_protoc_gen_openapiv2.plugin import generate_openapi
# Example usage - replace with actual proto file path
proto_file = "api.proto"
output_dir = "./openapi"
# Generate OpenAPI spec
# generate_openapi(proto_file, output_dir) # uncomment when ready
print("Quickstart placeholder - see README")
protoc-gen-openapiv2 --version
Upgrade
Version history
0.1.0latest on PyPI · released May 9, 2021
Audit
Dependencies
protobufrequiredRequired for protobuf definitions
grpcio-toolsoptionalRequired for gRPC protoc plugin support