@@ -302,7 +302,7 @@ Returns structured package data</Description>
302302</Class >
303303
304304
305- <Project name =" UMLExplorer" LastModified =" 2015-05-14 01:35:59.888696 " >
305+ <Project name =" UMLExplorer" LastModified =" 2015-05-15 00:57:01.855062 " >
306306 <Items >
307307 <ProjectItem name =" UMLExplorer.ClassView" type =" CLS" ></ProjectItem >
308308 <ProjectItem name =" UMLExplorer.Router" type =" CLS" ></ProjectItem >
@@ -315,7 +315,7 @@ Returns structured package data</Description>
315315<Description >
316316REST interface for UMLExplorer</Description >
317317<Super >%CSP.REST</Super >
318- <TimeChanged >63685,85586.177035 </TimeChanged >
318+ <TimeChanged >63687,39024.811955 </TimeChanged >
319319<TimeCreated >63648,30450.187229</TimeCreated >
320320
321321<XData name =" UrlMap" >
@@ -327,9 +327,9 @@ REST interface for UMLExplorer</Description>
327327 <Route Url="/js/CacheUMLExplorer.js" Method="GET" Call="GetJs"/>
328328 <Route Url="/Test" Method="GET" Call="Test"/>
329329 <Route Url="/GetClassTree" Method="GET" Call="GetClassTree"/>
330- <Route Url="/GetClassView/:ClassName " Method="GET" Call="GetClassView"/>
331- <Route Url="/GetPackageView/:PackageName " Method="GET" Call="GetPackageView"/>
332- <Route Url="/GetMethod/:ClassName/:MethodName " Method="GET" Call="GetMethod"/>
330+ <Route Url="/GetClassView" Method="GET" Call="GetClassView"/>
331+ <Route Url="/GetPackageView" Method="GET" Call="GetPackageView"/>
332+ <Route Url="/GetMethod" Method="GET" Call="GetMethod"/>
333333</Routes>
334334]]> </Data >
335335</XData >
@@ -349,9 +349,9 @@ Method returns whole class tree visible in the current namespace.</Description>
349349<Description >
350350Returns classTree by given class name</Description >
351351<ClassMethod >1</ClassMethod >
352- <FormalSpec >className:%String</FormalSpec >
353352<ReturnType >%Status</ReturnType >
354353<Implementation ><![CDATA[
354+ set className = %request.Get("name")
355355 set classData = ##class(UMLExplorer.ClassView).getClassView(className)
356356 do classData.%ToJSON(, "ou")
357357 return $$$OK
@@ -362,9 +362,9 @@ Returns classTree by given class name</Description>
362362<Description >
363363Returns all package class trees by given package name</Description >
364364<ClassMethod >1</ClassMethod >
365- <FormalSpec >packageName:%String</FormalSpec >
366365<ReturnType >%Status</ReturnType >
367366<Implementation ><![CDATA[
367+ set packageName = %request.Get("name")
368368 set classData = ##class(UMLExplorer.ClassView).getPackageView(packageName)
369369 do classData.%ToJSON(, "ou")
370370 return $$$OK
@@ -375,9 +375,10 @@ Returns all package class trees by given package name</Description>
375375<Description >
376376Returns method description and code</Description >
377377<ClassMethod >1</ClassMethod >
378- <FormalSpec >className:%String,methodName:%String</FormalSpec >
379378<ReturnType >%Status</ReturnType >
380379<Implementation ><![CDATA[
380+ set className = %request.Get("className")
381+ set methodName = %request.Get("methodName")
381382 set methodData = ##class(ClassView).getMethod(className, methodName)
382383 do methodData.%ToJSON(, "ou")
383384 return $$$OK
0 commit comments