Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Additional parameters for endpoints.
Link copied to clipboard
Link copied to clipboard
The path section in a URL.
Link copied to clipboard
A resolved Endpoint.
Link copied to clipboard
A resolved Resource.
Link copied to clipboard
The root resource of an API.
Link copied to clipboard
Properties
Link copied to clipboard
Returns all endpoints that are declared on this resource or any of its children.
Link copied to clipboard
The complete URL for this endpoint, starting at its RootResource.
The complete URL of this resource, starting from the RootResource, to this resource.
Link copied to clipboard
Constructs a ResolvedResource out of a RootResource.
Functions
Link copied to clipboard
Creates and configures a Parameters instance.
Link copied to clipboard
operator fun <Root : RootResource, Child : StaticResource<Root>> Root.div(child: Child): ResolvedResource<Child>
operator fun <Root : RootResource, Child : DynamicResource<Root>> Root.div(child: DynamicResource.Identified<Root, Child>): ResolvedResource<Child>
operator fun <R : Resource, Endpoint : AnyEndpoint> ResolvedResource<R>.div(endpoint: Endpoint): ResolvedEndpoint<Endpoint>
operator fun <Current : Resource, Child : StaticResource<Current>> ResolvedResource<Current>.div(child: Child): ResolvedResource<Child>
operator fun <Current : Resource, Child : DynamicResource<Current>> ResolvedResource<Current>.div(child: DynamicResource.Identified<Current, Child>): ResolvedResource<Child>
Link copied to clipboard
inline operator fun <T> Parameters.Parameter<T>.getValue(thisRef: Parameters, property: KProperty<*>): T
Internal method used by the parameter declaration syntax.
Link copied to clipboard
operator fun <Parent : Resource, Child : DynamicResource<Parent>> Child.invoke(id: String): DynamicResource.Identified<Parent, Child>
Binds a specific identifier into a DynamicResource's slug.
Link copied to clipboard
inline operator fun <T> Parameters.UnnamedParameter<T>.provideDelegate(thisRef: Parameters, property: KProperty<*>): Parameters.Parameter<T>
Internal method used by the parameter declaration syntax.
Link copied to clipboard
inline operator fun <T> Parameters.Parameter<T>.setValue(thisRef: Parameters, property: KProperty<*>, value: T)
Internal method used by the parameter declaration syntax.