You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
after creating the repository (with the shell) it will fail at sdk generation (core) because it does not find the openapi.yml file from which it should generate the content.
Expected result
the sdk to be generated and not only the shell files.
Additional comments
the file extension given as specs is hardcoded in create command.
the extension should be the same as the file found in the npm package containing the specs
## Proposed change
<!-- Please include a summary of the changes and the related issue.
Please also include relevant motivation and context. List any
dependencies that is required for this change. -->
## Related issues
- 🐛 Fixes#1790
- 🚀 Feature #(issue)
<!-- Please make sure to follow the contributing guidelines on
https://github.com/amadeus-digital/Otter/blob/main/CONTRIBUTING.md -->
Package name
create
Package version
10.4.0-prerelease.14
Reproduction steps
Run:
`npm create '@ama-sdk@10.4.0-prerelease.14' typescript @my-repo/sdk -- --spec-package-name=@my-spec/core --spec-package-registry=https://my-registry/npm/registry/ --spec-package-path=dist/my-specs.yaml
Current result
after creating the repository (with the shell) it will fail at sdk generation (core) because it does not find the
openapi.yml
file from which it should generate the content.Expected result
the sdk to be generated and not only the shell files.
Additional comments
the file extension given as specs is hardcoded in
create
command.the extension should be the same as the file found in the npm package containing the specs
otter/packages/@ama-sdk/create/src/index.ts
Line 91 in 5fbacc5
The text was updated successfully, but these errors were encountered: