Bug 36546: (follow-up) Add fallback to unbundled spec
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 1 May 2024 08:16:21 +0000 (09:16 +0100)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Thu, 2 May 2024 13:03:34 +0000 (15:03 +0200)
commitf862f78588b032c6d59eae3eb4b0d30ae33ac787
tree2592e0a8ed20965a4d169a2dccf4a3ebb47b03bf
parent24abc7c9973ce4b2b91a4b53375ef233faf59304
Bug 36546: (follow-up) Add fallback to unbundled spec

Some developers are running without ktd still and as such may not want
to install the node modules required to bundle the specification.

This patch adds a fallback to the unbundled yaml files when the
bundle.json file isn't found.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Koha/REST/V1.pm