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

Allow the usage of "-format" with the new method #181

Closed
peruzzof opened this issue Feb 15, 2023 · 1 comment
Closed

Allow the usage of "-format" with the new method #181

peruzzof opened this issue Feb 15, 2023 · 1 comment

Comments

@peruzzof
Copy link

peruzzof commented Feb 15, 2023

Is your feature request related to a problem? Please describe.
I am planning to use oasdiff not to detect changes, but to compare the designed OAPI with the one generated by the code. But I am expecting some differences, so I need to process the result with another mechanism. And will be easier to do so using the JSON or YAML format.

Describe the solution you'd like
As JSON is easier to deal in a script I will prefer over YAML, but I can work with the 3 options that used to work with the old method.

Describe alternatives you've considered
As the old method is deprecated I hope that this will be implemented before it is removed.

Additional note
As not all flags are common between both methods it will be better if this is clear in the documentation and/or help page.

@peruzzof peruzzof changed the title Allow the usage of "-output" with the new method Allow the usage of "-format" with the new method Feb 15, 2023
@reuvenharrison
Copy link
Collaborator

Hi @peruzzof,
The "new method" is only relevant to Breaking-Changes.
The diff formats will remain unchanged and will not be deprecated.
I will try to clarify this in the documentation.
Regards,
Reuven

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

No branches or pull requests

2 participants