Skip to main content
Version: 2.23 (deprecated)

redocly


Redocly CLI toolbox with rich validation and bundling features (https://github.com/Redocly/redocly-cli).

Backend: pants.backend.experimental.openapi

Config section: [redocly]

Basic options​

None

Advanced options​

install_from_resolve​

--redocly-install-from-resolve=<str>
PANTS_REDOCLY_INSTALL_FROM_RESOLVE
pants.toml
[redocly]
install_from_resolve = <str>
default: None

If specified, install the tool using the lockfile for this named resolve, instead of the version configured in this subsystem.

If unspecified, the tool will use the default configured package manager [nodejs].package_manager`, and install the tool without a lockfile.

version​

--redocly-version=<str>
PANTS_REDOCLY_VERSION
pants.toml
[redocly]
version = <str>
default: @redocly/cli@1.10.5

Version string for the tool in the form package@version (e.g. prettier@2.6.2)

Deprecated options​

None

None