IsShowable
public protocol IsShowable: Resource
Flags a resource as being showable i.e. a single resource can be requested.
This protocol does nothing by itself, but has constrained extensions for types
implementing RootResource
and ChildResource
.
-
show(_:)
Extension methodA static function for
RootResource
which returns aPath
that encodes aGET
request for single resource.Declaration
Swift
public static func show(_ id: ID) -> Path<Self, SingularPath, GET>
-
show
Extension methodA value for an instance of
RootResource
which returns aPath
that encodes aGET
request for that resource.Declaration
Swift
public var show: Path<Self, SingularPath, GET>
-
show(_:)
Extension methodA static function for
ChildResource
which returns aPath
that encodes aGET
request for single resource.Declaration
Swift
public static func show(_ id: ID) -> ChildPath<Self, SingularPath, GET>
-
show
Extension methodA value for an instance of
ChildResource
which returns aPath
that encodes aGET
request for that resource.Declaration
Swift
public var show: ChildPath<Self, SingularPath, GET>
-
show
Extension methodA static function for
SingularRootResource
which returns aPath
that encodes aGET
request for that resource.Declaration
Swift
public static var show: Path<Self, SingularPath, GET>
-
show
Extension methodA value for an instance of
SingularRootResource
which returns aPath
that encodes aGET
request for that resource.Declaration
Swift
public var show: Path<Self, SingularPath, GET>
-
show
Extension methodA static function for
SingularChildResource
which returns aPath
that encodes aGET
request for that resource.Declaration
Swift
public static var show: ChildPath<Self, SingularPath, GET>
-
show
Extension methodA value for an instance of
SingularChildResource
which returns aPath
that encodes aGET
request for that resource.Declaration
Swift
public var show: ChildPath<Self, SingularPath, GET>