Macro headless_lms_server::generated_docs
source · macro_rules! generated_docs { ($t: expr, ts) => { ... }; ($t: expr, json) => { ... }; ($t: expr) => { ... }; }
Expand description
Includes the type’s JSON example and/or TypeScript definition generated by doc-file-generator as a string. Used with the helper macro from the doc-macro crate: #generated_doc