Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

protoc-gen-openapiv2

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

protoc-gen-openapiv2

Provides the missing pieces for gRPC Gateway.

  • 0.0.1
  • PyPI
  • Socket score

Maintainers
1

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

  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/*

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc