OpenAPITools / openapi-diff

Utility for comparing two OpenAPI specifications.
Apache License 2.0
787 stars 152 forks source link

Limit response with —json option with cli #448

Closed gituserjava closed 1 year ago

gituserjava commented 1 year ago

Is there a way we can limit the response that is generated when “—json” option is used in command line?

For a huge api spec, this option is generating huge file with “oldApiSpec”, “newApiSpec”, “newEndpoints”, “oldEndpoints” and in my case for 2000 lines api spec, it created 2,26,822 lines json file.

Can we just generate “newEndpoints”, “oldEndPoints” etc. I mean is there a way it can create json with the contents of text output?