We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
schematics
10.1.1
I created a SDK and failed relative path of my .yaml.
So in order to regen the spec, I copy paste my yaml in root sdk directory and renamed it as "swagger-spec.yaml".
Then I ran
npm run spec:regen --workspace=@irs/sdk
The output is :
UPDATE swagger-spec.yaml (1988 bytes) [error] Required option '-i' is missing Error: OpenApiGeneratorCli failed to run OpenApiGenerator with command 'openapi-generator-cli generate --custom-generator=C:\embedded_insurance\irs-frontend\node_modules\@ama-sdk\schematics\schematics\typescript\core\openapi-codegen-typescript\target\typescriptFetch-openapi-generator.jar --generator-key irs-sdk' npm ERR! Lifecycle script `generate` failed with error: npm ERR! Error: command failed npm ERR! in workspace: @irs/sdk@0.0.0-placeholder npm ERR! at location: C:\embedded_insurance\irs-frontend\libs\irs-sdk npm ERR! Lifecycle script `spec:regen` failed with error: npm ERR! Error: command failed npm ERR! in workspace: @irs/sdk@0.0.0-placeholder npm ERR! at location: C:\embedded_insurance\irs-frontend\libs\irs-sdk
No Error
I ran with the new swagger-spec.yaml :
npm run generate --workspace=@irs/sdk
And it works but after, I tried to regen and had the same error as above.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Package name
schematics
Package version
10.1.1
Reproduction steps
I created a SDK and failed relative path of my .yaml.
So in order to regen the spec, I copy paste my yaml in root sdk directory and renamed it as "swagger-spec.yaml".
Then I ran
npm run spec:regen --workspace=@irs/sdk
Current result
The output is :
Expected result
No Error
Additional comments
I ran with the new swagger-spec.yaml :
npm run generate --workspace=@irs/sdk
And it works but after, I tried to regen and had the same error as above.
The text was updated successfully, but these errors were encountered: