24 Mar
2022
24 Mar
'22
8:56 a.m.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30194 --- Comment #50 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Created attachment 132102 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132102&action=edit Bug 30194: Auto generate swagger.yaml It was not sorted correct and had inconsistencies. use YAML; use File::Slurp qw( write_file ); my $yaml = YAML::LoadFile('api/v1/swagger/swagger.yaml'); YAML::Bless($yaml)->keys([qw(swagger basePath definitions paths info tags )]); $yaml = YAML::Dump($yaml); $yaml =~ s|'|"|xmsg; write_file('api/v1/swagger/swagger.yaml', $yaml); -- You are receiving this mail because: You are watching all bug changes.