- Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathannotatedFile.js
More file actions
Latest commit
37 lines (32 loc) · 639 Bytes
/
Copy pathannotatedFile.js
File metadata and controls
37 lines (32 loc) · 639 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/**
* @Simple()
* @Request("/controller/endpoint/param")
* @Path(dir="/home/user1", param="somevalue")
*/
functiontest(){
console.log("In Function test");
}
/**
* @Request("/controller1/endpoint1/param1")
*/
classTest{
constructor(){
/**
* @Request("/controller2/endpoint2/param2")
*/
leta;
/**
* @Path(dir="/home/user2", param="someothervalue")
*/
constb;
/**
* @Request("/controller3/endpoint3/param3")
*/
varc;
}
/**
* @Path(dir="/home", param="test123")
*/
testFunction(req){
}
}