Skip to content

Commit 38ab3dc

Browse files
committed
[#25] Massage service name to get nicer module name
1 parent 28c6290 commit 38ab3dc

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

lib/aws_codegen/spec.ex

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ defmodule AWS.CodeGen.Spec do
3333
service_id -> service_id
3434
end
3535
|> String.replace("-sync", "Sync")
36+
|> String.replace("Route 53", "Route53")
37+
|> String.replace(~r/ Service$/, "")
3638
|> String.replace("dynamodb", "DynamoDB")
3739
|> String.replace("api.pricing", "API.Pricing")
3840
|> String.replace("entitlement.marketplace", "Entitlement.Marketplace")

0 commit comments

Comments
 (0)