Skip to main content

Module strings

Module strings 

Source
Expand description

String manipulation utilities

Functions§

operation_to_method_name
Convert operation ID to handler method name e.g., “ListCatalogs” -> “list_catalogs”
service_to_base_path
Extract base path from service name e.g., “CatalogsService” -> “catalogs”
service_to_handler_name
Convert service name to handler trait name e.g., “CatalogsService” -> “CatalogHandler”