Skip to content

Using glob/folder to generate doesnt work #120

@SebbeJohansson

Description

@SebbeJohansson

According to the documentation the following format should work: wsdl-tsclient ./resources/**/*.wsdl -o ./generated - using glob
Running something like this results in:

PS C:\Users\admin\tradera-api-client> npx wsdl-tsclient ./scripts/**/*.wsdl -o ./src/generated
Generating soap client from "*.wsdl"
(node:132) Warning: "version" is a reserved word.
Please do one of the following:
- Disable version with `yargs.version(false)` if using "version" as an option
- Use the built-in `yargs.version` method instead (if applicable)
- Use a different option key
https://yargs.js.org/docs/#api-reference-version
(Use `node --trace-warnings ...` to show where the warning was created)
Error occured while generating client "*.wsdl"
        Error: ENOENT: no such file or directory, open 'C:\Users\admin\tradera-api-client\scripts\**\*.wsdl'
1 Errors occured!

I expect a common client to be created when running this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions