Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Issue301Payload = Type("Issue301Type", func() {
Attribute("user-definition-type", Integer, func() {
Default(10)
Metadata("struct:field:type", "design.SecuritySchemeKind", "github.com/shogo82148/goa-v1/design")
})
Attribute("primitive-type-number", Number, func() {
Default(3.14)
})
Attribute("primitive-type-time", DateTime, func() {
Default("2006-01-02T15:04:05Z")
})
Required("user-definition-type")
Required("primitive-type-number")
Required("primitive-type-time")
})
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.