Skip to content

Cheat sheet

Resource Routing

Details: Resource Routing

FeatureExampleResolved Route
Auto route@autoRoute op get(@segment("pets") @path id: string): void/pets/{id}
Custom segment seperator@autoRoute op get(@segment("pets") @path @segmentSeparator(":") id: string): void:pets/{id}