-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
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
[SPE-4405] Normalize source input location path between Windows and Unix #1048
Labels
CLI
Created by Linear-GitHub Sync
linear
Low priority
Created by Linear-GitHub Sync
platform
Created by Linear-GitHub Sync
Milestone
Comments
Thanks for the report Niel ! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
CLI
Created by Linear-GitHub Sync
linear
Low priority
Created by Linear-GitHub Sync
platform
Created by Linear-GitHub Sync
When a new SDK is created in a Windows environment, the
sources[*].inputs[*].location
in.speakeasy/workflow.yaml
uses backslash in relative paths to address the input file.If the same SDK is later regenerated on macOS/Linux using
speaskeasy run
, the input location can't be resolved.Steps
speakeasy quickstart
, referencing a local OpenAPI document as source.speakeasy run
Expected result
SDK regenerates from the OpenAPI document in the parent folder.
Actual result
Workaround
Updating the path in
.speakeasy/workflow.yaml
to use slashes instead of backslashes resolves this for macOS/Linux users.SPE-4405
The text was updated successfully, but these errors were encountered: