mirror of https://github.com/MingweiSamuel/Riven
endpoints.rs.dt remove broken unused header parsing code
parent
15eee5883a
commit
b3742ef919
|
@ -80,11 +80,7 @@ impl<'a> {{= endpoint }}<'a> {
|
||||||
let rateLimitExcluded = get['x-app-rate-limit-excluded'] ? true : false;
|
let rateLimitExcluded = get['x-app-rate-limit-excluded'] ? true : false;
|
||||||
|
|
||||||
/* Description processing. */
|
/* Description processing. */
|
||||||
let desc = get.description;
|
let descArr = get.description.split('\n');
|
||||||
let descArr = desc
|
|
||||||
.replace(/(#+)\s*([^\\]+)\\n(.*?)([\\n$])/g,
|
|
||||||
(m, g1, g2, g3, g4) => `<h${g1.length}>${g2}</h${g1.length}>\\n${g3}${g4}`)
|
|
||||||
.split('\n');
|
|
||||||
|
|
||||||
/* Build argument comment & string. */
|
/* Build argument comment & string. */
|
||||||
let argBuilder = [];
|
let argBuilder = [];
|
||||||
|
|
Loading…
Reference in New Issue