design

package
v2.2.5+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FetchMedia = ResultType("application/vnd.goa.fetch", func() {
	Description("FetchResponse contains the HTTP status code returned by the fetched service and the href to the archived results in the archiver service")
	TypeName("FetchMedia")
	Attributes(func() {
		Attribute("status", Int, "HTTP status code returned by fetched service", func() {
			Minimum(0)
			Example(200)
		})
		Attribute("archive_href", String, "The href to the corresponding archive in the archiver service", func() {
			Pattern("^/archive/[0-9]+$")
			Example("/archive/1")
		})
		Required("status", "archive_href")
	})
	View("default", func() {
		Attribute("status")
		Attribute("archive_href")
	})
})

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