[SPE-4405] Normalize source input location path between Windows and Unix #1048
Labels
CLI
Created by Linear-GitHub Sync
linear
Medium priority
Created by Linear-GitHub Sync
platform
Created by Linear-GitHub Sync
Milestone
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: