Mercurial > hg > orthanc-python
comparison CodeAnalysis/CustomFunctions.json @ 193:66cd20e970d8 java-code-model
simplification for custom methods
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 02 Jul 2024 18:37:04 +0200 |
parents | b0f096d2339e |
children | d7a6e75558ee |
comparison
equal
deleted
inserted
replaced
192:b0f096d2339e | 193:66cd20e970d8 |
---|---|
1 [ | 1 [ |
2 { | 2 { |
3 "short_name" : "RegisterRestCallback", | 3 "short_name" : "RegisterRestCallback", |
4 "implementation" : "RegisterRestCallback", | 4 "implementation" : "RegisterRestCallback", |
5 "documentation" : { | |
6 "description" : [ "Register a REST callback." ], | |
7 "args" : { | |
8 "pathRegularExpression" : "Regular expression for the URI. May contain groups.", | |
9 "callback" : "The callback function to handle the REST call." | |
10 } | |
11 }, | |
5 "args" : [ | 12 "args" : [ |
6 { | 13 { |
7 "sdk_name" : "pathRegularExpression", | 14 "sdk_name" : "pathRegularExpression", |
8 "sdk_type" : "const char *" | 15 "sdk_type" : "const char *" |
9 }, | 16 }, |
11 "sdk_name" : "callback", | 18 "sdk_name" : "callback", |
12 "sdk_type" : "Callable", | 19 "sdk_type" : "Callable", |
13 "callable_type" : "typing.Callable[[RestOutput, str], None]" | 20 "callable_type" : "typing.Callable[[RestOutput, str], None]" |
14 } | 21 } |
15 ], | 22 ], |
16 "documentation" : { | |
17 "args" : { | |
18 "pathRegularExpression" : "Regular expression for the URI. May contain groups.", | |
19 "callback" : "The callback function to handle the REST call." | |
20 }, | |
21 "description" : [ "Register a REST callback." ] | |
22 }, | |
23 "return_sdk_type" : "void" | 23 "return_sdk_type" : "void" |
24 } | 24 } |
25 ] | 25 ] |