Skip to content

Commit 19e28a2

Browse files
committed
Fix generation script.
1 parent 6858608 commit 19e28a2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

generator/csharp.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -849,12 +849,12 @@ def _route_url(self, ns_name, route_name, route_version):
849849
route_version (int): The version of the route.
850850
"""
851851

852-
route_url = '"/{}/{}"'.format(ns_name, route_name)
852+
route_url = '/{}/{}'.format(ns_name, route_name)
853853

854854
if route_version != 1:
855-
route_url = "{}_v{}".format(route_url, version)
855+
route_url = "{}_v{}".format(route_url, route_version)
856856

857-
return route_url
857+
return '"{}"'.format(route_url)
858858

859859
def _public_route_name(self, name, version):
860860
"""

0 commit comments

Comments
 (0)