-
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
If a request-body is removed for an operation it does not show up in the changelog.
IMO it is a very breaking change so I was
To Reproduce
Steps to reproduce the behavior:
oasdiff breaking old.json new.json- Spec 1:
{
"info": {
"title": "new",
"version": ""
},
"paths": {
"/new": {
"post": {
"summary": "Create something new",
"responses": {
"201": {}
}
},
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object"
}
}
},
"required": true
}
}
}
},
"openapi": "3.0.0",
"components": {}
}
- Spec 2:
{
"info": {
"title": "new",
"version": ""
},
"paths": {
"/new": {
"post": {
"summary": "Create something new",
"responses": {
"201": {}
}
}
}
}
},
"openapi": "3.0.0",
"components": {}
}
- Output:
Expected behavior
I expected a message saying that the entire request-body had been removed.
Desktop (please complete the following information):
- OS: Linux
Additional context
Add any other context about the problem here.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working