- Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
In my API the response contains an absolute URL. For example:
{ "url": "https://staging.example.com/api/node/1" }
and
{ "url": "https://example.com/api/node/1" }
Running the following command
api-diff \ --new.host staging.example.com \ --old.host example.com \ --input_queries queries.txt \ --output_mode html \ -o report.html
Will tell me that there is a difference in API response. But as you can see the difference only occurs in the hostname. The reset /api/node/1
is the same.
Is there any flag to ignore host and ignore the occurrence of hostname in API response?
Metadata
Metadata
Assignees
Labels
No labels