Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ImageMedia = MediaType("application/vnd.goa.examples.upload.image", func() {
Description("Image metadata")
TypeName("ImageMedia")
Attributes(func() {
Attribute("id", Integer, "Image ID")
Attribute("filename", String, "Image filename")
Attribute("uploaded_at", DateTime, "Upload timestamp")
Required("id", "filename", "uploaded_at")
})
View("default", func() {
Attribute("id")
Attribute("filename")
Attribute("uploaded_at")
})
})
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.