None of these contains a folder called YangJsonTools, can you provide a pointer to this folder?
$ sh yang2swag.sh
Generating SWAGGER files from YANG files
Generating tapi-oam@2019-03-31.json from ./YANG//tapi-oam@2019-03-31.yang
Usage: pyang [options] [<filename>...]
Validates the YANG module in <filename> (or stdin), and all its dependencies.
pyang: error: no such option: --generate-rpc
Generating tapi-equipment@2019-03-31.json from ./YANG//tapi-equipment@2019-03-31.yang
Usage: pyang [options] [<filename>...]
When running the script it expects another project to be checkout out at ../EAGLE with the folder ../EAGLE/YangJsonTools
Looking through the OpenNetworkFoundation group on GitHub shows the following projects
https://github.com/OpenNetworkingFoundation?q=EAGLE&type=&language=
None of these contains a folder called YangJsonTools, can you provide a pointer to this folder?