Open artem-zakharchenko opened 5 years ago
Consider I have the next specification toward my response body:
{ "username": "admin", "notExistingProp": true }
When the actual response body is:
{ "username": "admin", "extraPropA": "...", "extraPropB": "..." }
I see both extraPropA and extraPropB as new added properties, but I don't see the notExistingProp as red missing property.
extraPropA
extraPropB
notExistingProp
Perhaps a logic flaw during the analyzis if a property is missing:
https://github.com/apiaryio/gavel2html/blob/99897d716d44c85997399f6bb4ef8c9450cfbf26/src/converter.coffee#L137-L144
Still actual and is the reason for this behavior present in the core app.
What
Consider I have the next specification toward my response body:
When the actual response body is:
I see both
extraPropA
andextraPropB
as new added properties, but I don't see thenotExistingProp
as red missing property.Why
Perhaps a logic flaw during the analyzis if a property is missing:
https://github.com/apiaryio/gavel2html/blob/99897d716d44c85997399f6bb4ef8c9450cfbf26/src/converter.coffee#L137-L144