view 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
line wrap: on
line source

[
  {
    "short_name" : "RegisterRestCallback",
    "implementation" : "RegisterRestCallback",
    "documentation" : {
      "description" : [ "Register a REST callback." ],
      "args" : {
        "pathRegularExpression" : "Regular expression for the URI. May contain groups.",
        "callback" : "The callback function to handle the REST call."
      }
    },
    "args" : [
      {
        "sdk_name" : "pathRegularExpression",
        "sdk_type" : "const char *"
      },
      {
        "sdk_name" : "callback",
        "sdk_type" : "Callable",
        "callable_type" : "typing.Callable[[RestOutput, str], None]"
      }
    ],
    "return_sdk_type" : "void"
  }
]