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
The error coming from handleYAMLNode is yaml: cannot decode !!float `-999.99` as a !!int. Due to the same, the variable newbytes is empty which leads to an error further in the code.
Below is a simple go program which demonstrates the same
libopenapi version: 0.15.14
The RenderAndReload() function panics with the given spec due to the error being ignored at YAMLNodeToJSON function.
The complete flow of function is: RenderAndReload -> Render -> RenderJSON -> YAMLNodeToJSON -> handleYAMLNode.
The error coming from handleYAMLNode is
yaml: cannot decode !!float `-999.99` as a !!int
. Due to the same, the variable newbytes is empty which leads to an error further in the code.Below is a simple go program which demonstrates the same
Spec:
The text was updated successfully, but these errors were encountered: