Closed monir-a-khan closed 2 years ago
Hi, updating ng-openapi-gen to 18.0.0 throwing the following error.
Error on API generation: TypeError: argParser.add_argument is not a function.
Node: 14.17.4 Typescript: 4.3.5 Python: 3.9.7
Actually, the version you mean is 0.18.0. As of now, the latest version is 0.19.1. Have you executed npm install? The argparse library has changed its api, and that one is the correct way now.
0.18.0
0.19.1
npm install
argparse
Hi, updating ng-openapi-gen to 18.0.0 throwing the following error.
Error on API generation: TypeError: argParser.add_argument is not a function.
Node: 14.17.4 Typescript: 4.3.5 Python: 3.9.7