Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var TagString = "gen"
Functions ¶
func TrimString ¶
Types ¶
type Component ¶
type Component struct { Name string Kind ComponentKind Service string Proto *generator.MessageDescriptor }
Component is description of generator.MessageDescriptor and converted OpenAPI3.0 data models (https://swagger.io/docs/specification/data-models/)
type ComponentKind ¶
type ComponentKind int32
const ( Auth ComponentKind = iota Request Response Error )
type LinkComponents ¶
func NewLinkComponents ¶
func NewLinkComponents() *LinkComponents
func (*LinkComponents) Push ¶
func (l *LinkComponents) Push(c *Component)
func (*LinkComponents) Range ¶
func (l *LinkComponents) Range(fn func(*Component))
Click to show internal directories.
Click to hide internal directories.