Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var TagString = "gen"
Functions ¶
func TrimString ¶ added in v0.8.3
Types ¶
type Component ¶ added in v0.8.3
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 ¶ added in v0.8.3
type ComponentKind int32
const ( Auth ComponentKind = iota Request Response Error )
type LinkComponents ¶ added in v0.9.4
func NewLinkComponents ¶ added in v0.9.4
func NewLinkComponents() *LinkComponents
func (*LinkComponents) Push ¶ added in v0.9.4
func (l *LinkComponents) Push(c *Component)
func (*LinkComponents) Range ¶ added in v0.9.4
func (l *LinkComponents) Range(fn func(*Component))
Click to show internal directories.
Click to hide internal directories.