package
0.2.2
Repository: https://github.com/nytimes/openapi2proto.git
Documentation: pkg.go.dev

# Functions

Compile takes an OpenAPI spec and compiles it into a protobuf.Package.
WithAnnotation creates a new Option to specify if we should add google.api.http annotation to the compiled Protocol Buffers structure.
prefix enum values with their enum name to prevent protobuf namespacing issues.
WithSkipRpcs creates a new Option to specify if we should generate services and rpcs in addition to messages.
wrap primitive types with their wrapper message types see https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/wrappers.proto and https://developers.google.com/protocol-buffers/docs/proto3#default.

# Structs

Parameter is used to represent a parameter.

# Type aliases

Option is used to pass options to several methods.