Skip to content
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

feat: quickstart sample spec retry #707

Merged
merged 1 commit into from
May 15, 2024

Conversation

ryan-timothy-albert
Copy link
Contributor

In quickstart when a valid subset spec cannot be found to pass validation prompt if they would like to retry with a sample spec

return true, errors.Wrapf(err, "failed to write sample OpenAPI spec")
}

workflowFile.Sources[workflowFile.Targets[initialTarget].Source].Inputs[0].Location = "openapi.yaml"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I feel it's a bit strange to actually override the workflow file? Maybe not?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have too to get it to generate. I think we should otherwise their SDK still is in a failed state.

@ryan-timothy-albert ryan-timothy-albert merged commit 2ee5ffa into main May 15, 2024
5 checks passed
@ryan-timothy-albert ryan-timothy-albert deleted the quickstart_sample_spec_try branch May 15, 2024 17:44
LukeHagar pushed a commit that referenced this pull request Jun 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants