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

(fix): OpenAPI parser handles generating examples when no request or response required #4096

Merged

Conversation

dsinghvi
Copy link
Member

Previously the OpenAPI importer would fail to generate examples if no request or response was required. This would ultimately cause fern check to fail which would be very frustrating for users.

@dsinghvi dsinghvi marked this pull request as ready for review July 22, 2024 20:20
requestResponsePairs = responseExamples.map(([id, example]) => {
return { id, request: undefined, response: example };
});
}
Copy link
Member Author

Choose a reason for hiding this comment

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

critical change

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants