design

package
v1.6.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 9, 2024 License: MIT Imports: 2 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL