-
Notifications
You must be signed in to change notification settings - Fork 86
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
oasdiff diff --format yaml and oasdiff diff --format json return different
object.
To Reproduce
old.yml
openapi: 3.0.3
info:
version: 0.0.0new.yml
openapi: 3.0.3
info:
version: 0.0.1oasdiff diff old.yml new.yml --format yaml
info:
version:
from: 0.0.0
to: 0.0.1oasdiff diff old.yml new.yml --format json
{"info":{"version":{"from":"0.0.0","to":"0.0.1"}},"components":{}}- Notice that JSON response contains additional key with an empty object.
Expected behaviour
YAML and JSON responses should be equivalent and parse to the same object.
Desktop (please complete the following information):
- OS: Linux, oasdiff v1.11.4
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working