openapi-generator-cli
openapi-generator-cli copied to clipboard
Add support for PnP
When using yarn pnp, there's no node_modules folder.
Is there a way to reference the local json without that?
https://github.com/OpenAPITools/openapi-generator-cli/blob/ec675176d38ad35ef574db4633dc2c754797fa2f/apps/generator-cli/src/README.md?plain=1#L112
Or is "$schema": "https://github.com/OpenAPITools/openapi-generator-cli/blob/master/apps/generator-cli/src/config.schema.json" viable?
@simPod I might be wrong here, but since this tool is relying on binaries you probably want to unplug it.
And as unplugged, you can access to the schema from there as well.
yarn unplug @openapitools/openapi-generator-cli
but since this tool is relying on binaries you probably want to unplug it.
I don't understand why. Works ok when plugged. 🤔