You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I run the compare as follows:
openapi-compare -o old_openapi.json -n new_openapi.json
Output:
[
{
"Severity": 2,
"Message": "The new version has a lower value than the old: System.String[] -\u003E System.String[]",
"OldJsonRef": "#/info/version",
"NewJsonRef": "#/info/version",
"Id": 1000,
"Code": "VersionsReversed",
"Mode": 1
}
]
Instead of printing 1.4 and 1.5, it printed some garbled text in the "Message" field.
Could you please let know what's causing it and how to fix it?
Thanks!
The text was updated successfully, but these errors were encountered:
I have two simplest files below:
old_openapi.json:
{
"openapi": "3.0.0",
"info": {
"title": "foos",
"version": "1.5"
}
}
new_openapi.json:
{
"openapi": "3.0.0",
"info": {
"title": "foos",
"version": "1.4"
}
}
I run the compare as follows:
openapi-compare -o old_openapi.json -n new_openapi.json
Output:
[
{
"Severity": 2,
"Message": "The new version has a lower value than the old: System.String[] -\u003E System.String[]",
"OldJsonRef": "#/info/version",
"NewJsonRef": "#/info/version",
"Id": 1000,
"Code": "VersionsReversed",
"Mode": 1
}
]
Instead of printing 1.4 and 1.5, it printed some garbled text in the "Message" field.
Could you please let know what's causing it and how to fix it?
Thanks!
The text was updated successfully, but these errors were encountered: