diff options
author | Matias Linares <matiaslina@gmail.com> | 2020-05-17 20:25:25 -0300 |
---|---|---|
committer | Matias Linares <matiaslina@gmail.com> | 2020-05-17 20:25:25 -0300 |
commit | 4b01ebdcaa8d7df0ec34c758ae9f3b8ec32fdcd0 (patch) | |
tree | 850bd8a62e481a4b8beb47f64d98eac5ff7ff946 /scripts/load-docs.p6 | |
parent | 4823babb29e8d2c2f65b775e72210aac7a2175c5 (diff) | |
download | perl6-matrix-client-4b01ebdcaa8d7df0ec34c758ae9f3b8ec32fdcd0.tar.gz |
Fix missing multi methods on the endpoints TODO generator
Diffstat (limited to 'scripts/load-docs.p6')
-rwxr-xr-x | scripts/load-docs.p6 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/load-docs.p6 b/scripts/load-docs.p6 index b20dd86..87ef0d4 100755 --- a/scripts/load-docs.p6 +++ b/scripts/load-docs.p6 @@ -34,8 +34,9 @@ sub get-api-docs { sub MAIN(:$spec?) { my %tags = get-api-docs; - my $implemented-methods = (Matrix::Client, Matrix::Client::Room).map(*.^methods) - .flat.map( + my $implemented-methods = ( + Matrix::Client, Matrix::Client::Room, Matrix::Client::MediaStore + ).map(*.^methodsĀ».candidates).flat.map( { quietly try { .WHY.Str } or "" }).grep(/_matrix/).SetHash; |