forked from jooby-project/jooby
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp1070.kt
More file actions
45 lines (42 loc) · 983 Bytes
/
App1070.kt
File metadata and controls
45 lines (42 loc) · 983 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
38
39
40
41
42
43
44
45
package kt
import org.jooby.Kooby
class App1070 : Kooby({
/** Top */
path("/v2") {
path("/currencies") {
/** SubTop1 */
path("/rates") {
/**
* yadayada.
*
* @return OK
*/
get {
// do something
""
}
/**
* yadayada2.
*
* @return ```200``` OK
*/
delete {
// do something
""
}
}
/** SubTop2 */
path("/:isoCode") {
/**
* Gets the currency for a given ISO code.
*
* @return ....
*/
get {
// do something
""
}
}
}
}
})