Documentation ¶
Index ¶
- func BoolPtr(b bool) *bool
- func FieldToSchema(parent *jsonschema.Schema, tt protoreflect.FieldDescriptor) *jsonschema.Schema
- func FormatComments(loc protoreflect.SourceLocation) string
- func FormatTypeRef(t string) string
- func IsEmpty(msg protoreflect.MessageDescriptor) bool
- func IsMethodDeprecated(md protoreflect.MethodDescriptor) *bool
- func IsWellKnown(msg protoreflect.MessageDescriptor) bool
- func MessageToSchema(tt protoreflect.MessageDescriptor) *jsonschema.Schema
- func NewGoogleAny() *jsonschema.Schema
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FieldToSchema ¶
func FieldToSchema(parent *jsonschema.Schema, tt protoreflect.FieldDescriptor) *jsonschema.Schema
func FormatComments ¶
func FormatComments(loc protoreflect.SourceLocation) string
func FormatTypeRef ¶
func IsEmpty ¶
func IsEmpty(msg protoreflect.MessageDescriptor) bool
func IsMethodDeprecated ¶
func IsMethodDeprecated(md protoreflect.MethodDescriptor) *bool
func IsWellKnown ¶
func IsWellKnown(msg protoreflect.MessageDescriptor) bool
func MessageToSchema ¶
func MessageToSchema(tt protoreflect.MessageDescriptor) *jsonschema.Schema
func NewGoogleAny ¶
func NewGoogleAny() *jsonschema.Schema
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.