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: show parsing errors in stderr #43

Merged
merged 1 commit into from
Jul 17, 2024
Merged

Conversation

NextFire
Copy link
Member

Example:

Errors occurred while parsing the OpenAPI specifications:
[old] The field 'version' in 'info' object is REQUIRED. [#/info/version]
[new] The field 'title' in 'info' object is REQUIRED. [#/info/title]

Also write the other occuring CLI errors in stderr instead of stdout.

Example:

```
Errors occurred while parsing the OpenAPI specifications:
[old] The field 'version' in 'info' object is REQUIRED. [#/info/version]
[new] The field 'title' in 'info' object is REQUIRED. [#/info/title]
```

Also write the other occuring CLI errors in stderr instead of stdout.
@NextFire NextFire requested a review from ouvreboite July 17, 2024 13:45
@NextFire NextFire merged commit 436be91 into main Jul 17, 2024
1 check passed
@NextFire NextFire deleted the feat/parsing-diagnostics branch July 17, 2024 14:09
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