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: report schema errors #37

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tuxmachine
Copy link

Otherwise the action fails silently when there's an errors in the OpenAPI spec.

I've tested this on our own fork that uses a tweaked version of the breaking action, but it should probably be tested a bit further by people that use the other actions.

Otherwise the action fails silently when there's an errors in the OpenAPI spec.
@effoeffi effoeffi self-requested a review January 31, 2024 11:46
@effoeffi effoeffi added the bug Something isn't working label Jan 31, 2024
Copy link
Contributor

@effoeffi effoeffi left a comment

Choose a reason for hiding this comment

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

I believe we should include a call to oasdiff in the changelog and diff, similar to what we're currently doing in the breaking action. This approach would enhance uniformity and consistency. Additionally, we could eliminate the need for 2>&1 and set -/+e and the error check at the end.

@effoeffi effoeffi mentioned this pull request Mar 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants