Documentation
¶
Overview ¶
Package bug3213 reproduces go-swagger issue #3213 ("Consider TypeSpec comments"): annotations and doc comments attached to an individual TypeSpec inside a grouped `type ( ... )` declaration — rather than to the enclosing GenDecl — must still be parsed. Two models share one type group with distinct per-spec docs (a GenDecl-only reader could not tell them apart), and a grouped enum is referenced by a third model.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Alpha ¶
type Alpha struct {
Name string `json:"name"`
}
Alpha is the first grouped model.
swagger:model Alpha
Click to show internal directories.
Click to hide internal directories.