def METHOD_NAME(
    self,
    _input: Input,
    output: Output,
    func: t.Callable,
    uri: str,
    examples: t.Optional[Examples] = None,
) -> None:
    if not isinstance(_input, list):
        _input = [_input]
    if not isinstance(output, list):
        output = [output]
    _api = Api(_input, output, func, uri, examples)
    self.apis[uri] = _api