Name

DkStdRestApis_Gen.StripeGen - Use the Stripe OpenAPI specification.

Synopsis

DkStdRestApis_Gen.StripeGen [COMMAND] …

Commands

gen [OPTION]…
Downloads Stripe OpenAPI specification and then generates a Stripe client.

Inspection commands

all-headers [--tmp-dir=VAL] [--uri=VAL] [OPTION]…
Display all the Header objects in the Stripe specification, including all re-usable Header objects defined in Components objects.

all-parameters [--tmp-dir=VAL] [--uri=VAL] [OPTION]…
Display all the Parameter objects in the Stripe specification, including all re-usable Parameter objects defined in Components objects.

all-paths [--tmp-dir=VAL] [--uri=VAL] [OPTION]…
Display all the Path objects in the Stripe specification, including all re-usable Path objects defined in Components objects.

all-request-bodies [--tmp-dir=VAL] [--uri=VAL] [OPTION]…
Display all the Request Body objects in the Stripe specification, including all re-usable Request Body objects defined in Components objects.

all-responses [--tmp-dir=VAL] [--uri=VAL] [OPTION]…
Display all the Response objects in the Stripe specification, including all re-usable Response objects defined in Components objects.

all-schemas [--tmp-dir=VAL] [--uri=VAL] [OPTION]…
Display all the Schema objects in the Stripe specification, including all re-usable Schema objects defined in Components objects. This command has less processing than the --all mode of `stripe query-schemas`, but otherwise should have identical results.

operation-parameters [--tmp-dir=VAL] [--uri=VAL] [OPTION]…
Display the Parameters objects used by the Operation objects in the Stripe specification.

operation-request-bodies [--tmp-dir=VAL] [--uri=VAL] [OPTION]…
Display the Request Body objects used by the Operation objects in the Stripe specification.

operation-responses [--tmp-dir=VAL] [--uri=VAL] [OPTION]…
Display the Responses objects used by the Operation objects in the Stripe specification.

query-schemas [OPTION]…
Display all matching Schema objects in the Stripe specification, including all re-usable Schema objects defined in Components objects.

Common options

These options are common to all commands.

--color=WHEN (absent=auto)
Colorize the output. WHEN must be one of auto, always or never.

--help[=FMT] (default=auto)
Show this help in format FMT. The value FMT must be one of auto, pager, groff or plain. With auto, the format is pager or plain whenever the TERM env var is dumb or undefined.

-l LEVEL, --log-level=LEVEL
Set the verbosity of log messages. If the option is repeated the last LEVEL is used. LEVEL must be one of ERROR, WARNING, INFO or DEBUG.

-q, --quiet
Be quiet. Takes precedence over -l and --log-level options.

Exit status

DkStdRestApis_Gen.StripeGen exits with:

0
on success.

123
on indiscriminate errors reported on standard error.

124
on command line parsing errors.

125
on unexpected internal errors (bugs).

Bugs

Support the project with a GitHub star at https://github.com/diskuv/dk.

Leave feedback or bug reports at https://github.com/diskuv/dk/issues.