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
Thanks for the previous fix it is working as expected.
After doing some more tests and broadening my configurations I noticed that all GET requests return everything as a type string. For example
{
"action": "deny",
"src-last-port": "443", // parsed as type string instead of number -> should be "src-last-port" : 443,
"dst-last-port": "443",
"protocol": "tcp"
}
They should return data based on the YANG type. (string, number, boolean);
Expected value
Type - String:
{ "string" : "name" }
Type - Number (uint16,uint32...)
{ "number" : 400 }
Type - boolean
{ "boolean" : false }
The text was updated successfully, but these errors were encountered:
Hi Olof,
Thanks for the previous fix it is working as expected.
After doing some more tests and broadening my configurations I noticed that all GET requests return everything as a type string. For example
{
"action": "deny",
"src-last-port": "443", // parsed as type string instead of number -> should be "src-last-port" : 443,
"dst-last-port": "443",
"protocol": "tcp"
}
They should return data based on the YANG type. (string, number, boolean);
Expected value
Type - String:
{ "string" : "name" }
Type - Number (uint16,uint32...)
{ "number" : 400 }
Type - boolean
{ "boolean" : false }
The text was updated successfully, but these errors were encountered: