namespace _zeitbild.api { /** */ export function register_meta_spec( rest_subject : lib_plankton.rest_caldav.type_rest ) : void { lib_plankton.rest_caldav.register< null, any > ( rest_subject, lib_plankton.http.enum_method.get, _zeitbild.conf.get().server.path_base + "/meta/spec", { "description": () => "gibt die API-Spezifikation im OpenAPI-Format aus", "input_schema": () => ({ "nullable": true, }), "output_schema": () => ({ }), "restriction": () => restriction_none, "execution": () => () => { return Promise.resolve({ "status_code": 200, "data": lib_plankton.rest_caldav.to_oas(rest_subject), }); }, } ); } }